F
Filament14mo ago
bflip

Select Default not working

Not sure what I'm drinking this morning, but coding is hard. haha No idea why this select isn't setting my default? Just says "Select an option"
Select::make('expires')
->options([
'never' => 'Never',
'date' => 'Date',
])
->default('never')
->required(),
Select::make('expires')
->options([
'never' => 'Never',
'date' => 'Date',
])
->default('never')
->required(),
Solution:
NVM, it's because I'm doing it wrong. No biggie
Jump to solution
1 Reply
Solution
bflip
bflip14mo ago
NVM, it's because I'm doing it wrong. No biggie
Want results from more Discord servers?
Add your server