Creatinga a new option in select
i using this code in select
->createOptionForm([
TextInput::make('label')
->label('New category')
->required(),
RichEditor::make('description')
]),
and when this code is clicked it adds a + button next to the select column and opens a modal, and I also use searchable so I want when a record is searched and the record doesn't exist it displays the option to create a new record but without displaying the modal, so I can type the data directly in the select
2 Replies