suffix action in the wrong place
my simple code :
public static function form(Form $form): Form
{
return $form
->schema([
Section::make('Surgical Team and Infrastructure')
->columns(3)
->schema([
Select::make('hospital')
->suffixIcon('heroicon-o-plus-circle')
->suffixAction(
Action::make('dd')
->form([
TextInput::make('testing')
])
),
Select::make('anesthetist_group'),
Select::make('professional')
])
]);
}
public static function form(Form $form): Form
{
return $form
->schema([
Section::make('Surgical Team and Infrastructure')
->columns(3)
->schema([
Select::make('hospital')
->suffixIcon('heroicon-o-plus-circle')
->suffixAction(
Action::make('dd')
->form([
TextInput::make('testing')
])
),
Select::make('anesthetist_group'),
Select::make('professional')
])
]);
}

2 Replies