Validations::options()
Validates if the field values is in defined options
Parameters
Name | Type | Default |
---|---|---|
$field * | Kirby\Form\Field |
– |
$value * | – |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |