FilamentF
Filament3y ago
Abi

Required validation for Radio button fails

not sure if it is just me, but the required validation for a radio button seems to fail. can someone confirm? Here is the code

Radio::make('customer_type')
    ->label('Are you a new customer?')
    ->options([
        'YES' => 'Yes',
        'NO' => 'No'
    ])->inline()->columnSpan(2)
    ->required(),
Was this page helpful?