Links

error-message

Optional
Type: string
Default: error messages that relate to the bound information
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

main.view.xml
<var name="username" type="text"/>
<text-input bind="username" required="true" error-message="You must enter a username"/>