Skip to content

Kirby 6.0.0

$listField->isRequired()

Checks if the field is required

$listField->isRequired(): bool

Return type

bool

Parent class

Kirby\Form\Field\ListField inherited from Kirby\Form\Field\InputField