required

abstract var required: Boolean?(source)

If true, the select embedded in a form must have a selected value. Otherwise, the form submission will fail.