required

abstract override var required: Boolean?(source)

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