Skip to content

Kirby 6.0.0

$selectField->hasValue()

Checks if the field has a value

$selectField->hasValue(): bool

Return type

bool

Parent class

Kirby\Form\Field\SelectField inherited from Kirby\Form\Field