laravel-nova-fields/gender
A Laravel Nova field for adding gender selection to your resources. Provides a simple, ready-to-use form input for capturing gender values in Nova admin panels, with straightforward integration into existing models and resources.
vendor:publish tags. The first place to look is the published config file: v1.1.0 adds an optional extended gender set, so confirm the flag/key that controls which option set is active.<select> and the package validation rule in the form request, then store the selected value in a normal string column.Rule::in(...) from the package’s active options rather than hardcoding a second list.old() input on validation failure, and render labels separately from stored values. This keeps storage stable if labels are later translated or reordered.enum or varchar(20).enum columns entirely for this data.php artisan config:clear (and restart queue workers) so web, API, and queued jobs all validate against the same list. In tests, set config explicitly per test and clear it afterward.How can I help you explore Laravel packages today?