required

abstract external var required: Boolean(source)

If true, the input will indicate that it's required.