required

abstract var required: Boolean?(source)

If true, the label will indicate that the input is required.