Error on create with select and editOptionForm

Error
Filament\Forms\Components\Select::getEditOptionActionFormData(): Return value must be of type array, null returned
Forms\Components\Select::make('test')
->default(1)
->options([0 => 'test', 1 => 'test2'])
->editOptionForm([
Forms\Components\TextInput::make('test')
]),
Forms\Components\Select::make('test')
->default(1)
->options([0 => 'test', 1 => 'test2'])
->editOptionForm([
Forms\Components\TextInput::make('test')
]),
1 Reply
exactwebitesolutions
Simple example with options but this happens on a prefilled relationship when the default value does not exist.
Want results from more Discord servers?
Add your server