Input
In List
Rule `in_list`: Accepts only values from a predefined list.
Usage
Use for select/radio options.
$schema = \Lemonade\Framework\Validation\ValidationSchema::create()
->field('field', 'Field')
->inList(['sales', 'support', 'billing'])
->end();
$result = $validator->validate($payload, $schema);
Stable rule name
in_list for translations, registry lookup and per-rule messages.
Group
Options