F
Filament14mo ago
Kaan

Add Custom Button to Repeater

Can i add custom button to repeater (top right) (left to delete button)
public function form(Form $form): Form
{
return $form
->schema([
Repeater::make('categorySteps')
->label('Kategori Adımları')
->schema([
TextInput::make('step_title')
->label('Adım Başlığı')
->disabled()
->required(),
])
->columns(2)
->reorderable()
->reorderableWithButtons()
->orderColumn('position')
->addable(false),
])
->columns(1)
->statePath('data');
}
public function form(Form $form): Form
{
return $form
->schema([
Repeater::make('categorySteps')
->label('Kategori Adımları')
->schema([
TextInput::make('step_title')
->label('Adım Başlığı')
->disabled()
->required(),
])
->columns(2)
->reorderable()
->reorderableWithButtons()
->orderColumn('position')
->addable(false),
])
->columns(1)
->statePath('data');
}
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?