isRequired

open fun isRequired(): Boolean

If set, the field is required to have a value at the time it is exported by a submit form action.

Return

true when field is required.