PasswordInput
This component is used for enter secret information
PasswordInput is a wrapper over TextInput with necessary properties to make it safe for entering secret information.
Useful features
PasswordInput provides special action as Right TextInput Island. There is a special button which toggle visibility of the inputed text.
To hide this special action you should set showControls
prop to false
.
Properties
Property | Type | Description |
---|---|---|
|
| Inputed value |
|
| Callback is called when user changed the value in the text field |
|
| Placeholder of the input |
| Left TextInput Island | |
| Right TextInput Island. Don't work when | |
|
| Shortcut for |
|
| Shortcut for |
|
| Shortcut for |
|
| Shortcut for |
|
| Error message for TextInput |
|
| Hint message for TextInput |
| Size of the text input | |
|
| Marks input as disabled |
|
| Marks input as required |
|
| Shows special actions for PasswordInput instead of right island. Default value is |
|
| Custom html input element |
| Surface of the input | |
| Shadows of the input | |
|
| Custom CSS class |
History
Altrone 2.0
:added surface prop
added elevation prop
Altrone 1.0
: initial release
Last updated