setRequired

open override fun setRequired(required: Boolean): TextInputCreator(source)

Sets weather the text input is required.

Return

The current TextInputCreator instance.

Parameters

required

Whether the text input is required.