The Textfield's action is fired whenever the textfield is in focus and the user presses return.
Attribute | Value (default) | Details |
---|---|---|
placeholder | string (undefined) | placeholder text |
value | string (null) | text in the field |
Method Name | Details |
---|---|
clearValidationWarning | method clears any validation warnings associated with the textfield being shown |
validate | method accepts a function that validates the textfield by testing its value, returning the error message as a string the textfield fails the validation test |