muon-inputter
Purpose
A component to allow for user inputs of type text, radio, checkbox, select,
date, tel, number, textarea, search.
View example on Storybook
Guidance
Properties
Property |
Attribute |
Type |
Default |
Description |
helper |
helper |
string |
|
|
isHelperOpen |
open-helper |
boolean |
false |
|
isPristine |
|
boolean |
|
A getter method to get pristine state of the form element. |
isDirty |
|
boolean |
|
A getter method to get dirty state of the form element. |
validity |
|
ValidityState |
|
A getter method to get validity of the form element. |
validationMessage |
|
string |
|
A method to get a validation message combind from the validity states. |
validation |
validation |
array |
[] |
|
disableNative |
disableNative |
boolean |
false |
|
showMessage |
showMessage |
boolean |
true |
|
name |
name |
string |
|
|
value |
value |
string |
"" |
|
labelID |
labelID |
string |
"" |
|
heading |
heading |
string |
"" |
|
mask |
mask |
string |
"" |
|
separator |
separator |
string |
"" |
|
ignoreSeparator |
ignore-separator |
boolean |
false |
|
type |
type |
string |
"standard" |
|
Tokens
Name |
Token value |
Rendered value |
Description |