ak-input
v1.1.5ak-input
SingleLineTextInput
A text input component with extremely basic styling that supports read/edit modes.
Designed for use within other components, e.g. for the read/edit views required by ak-inline-edit, or within table cells.
Note: In addition the props described below, all other props passed to this component will be forwarded to the underlying HTML 'input'. This allows change handlers, placeholders, etc, to be attached to it.
Kind: global variable
Properties
-
- .value :
string
- .style :
object
- .isInitiallySelected :
boolean
- .isEditing :
boolean
- .value :
SingleLineTextInput.value : string
The value of the input field.
Kind: static property of SingleLineTextInput
SingleLineTextInput.style : object
Custom styles that will be applied to the read and edit views.
Typical use would be to specify a custom font size.
Kind: static property of SingleLineTextInput
SingleLineTextInput.isInitiallySelected : boolean
Whether the input text will initially be selected/highlighted.
Kind: static property of SingleLineTextInput
Default: false
SingleLineTextInput.isEditing : boolean
Whether the component is in edit mode or read mode.
Kind: static property of SingleLineTextInput
Support and feedback
We're here to help!
Let us know what you think of our components and docs, your feedback is really important for us.
Community support
Ask a question in our forum.
Check if someone has already asked the same question before.
Create a support ticket
Are you in trouble? Let us know!
Metadata
- Apache-2.0
- Whatever
- Atlassian Pty Ltd
- released 1/3/2017