error-message
Optional
Type: string
Default: An error message that relates to the bound input
Override the default error message when the input component is validated.
Example - error-message
on a text-input
error-message
on a text-input
<var name="username" type="text"/>
<text-input bind="username" required="true" error-message="You must enter a username"/>

Last updated