Skip to content

Commit

Permalink
docs: Changed the renamed attribute (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-castelain authored May 14, 2024
1 parent dca8c58 commit 9e5f487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/reference/types/action/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $builder

### `button_attr`

- **type**: `array`
- **type**: `array` or `callable`
- **default**: `[]`

An array of attributes used to render the form submit button.
Expand All @@ -54,7 +54,7 @@ use Kreyu\Bundle\DataTableBundle\Action\Type\ButtonActionType;

$builder
->addAction('remove', ButtonActionType::class, [
'attr' => [
'button_attr' => [
'class' => 'btn btn-danger',
],
])
Expand Down

0 comments on commit 9e5f487

Please sign in to comment.