required

boolean

Optional

Type: boolean

Default: false

Specifies whether a value must be entered/selected when the view is validated (e.g. via a validate="true" attribute on a button or an action). Can be either true, false, or the result of a function, e.g. $:shouldBeRequired().

Last updated