Section::make('Event')->columnSpanFull()->schema([
Select::make('event_id')
->live()
->label('Event')
->options(fn () => Event::get(['id', 'name'])
->mapWithKeys(fn (Event $event) => [$event->id => $event->name]))
->disabled(fn (Novel $record) => $record->event_id)
->searchable(false)
->native(false)
->helperText('Please check the event details ...')
Section::make('Event')->columnSpanFull()->schema([
Select::make('event_id')
->live()
->label('Event')
->options(fn () => Event::get(['id', 'name'])
->mapWithKeys(fn (Event $event) => [$event->id => $event->name]))
->disabled(fn (Novel $record) => $record->event_id)
->searchable(false)
->native(false)
->helperText('Please check the event details ...')