Type: string

Default: An error message that relates to the bound input

Override the default error message when the input component is validated.

Remember to use required="true"

The overridden error message will only be used when the input component is marked as required. I.e. required="true"

Example - 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