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')
])
]);
}

No description
2 Replies
Matthew
Matthew3w ago
Remove: ->suffixIcon('heroicon-o-plus-circle') Chain ->icon('heroicon-o-plus-circle') to ->suffixAction
Daniel
DanielOP3w ago
THANKS !!!! 🥳

Did you find this page helpful?