diff --git a/docs/crud/configuration.md b/docs/crud/configuration.md index 79cd3f7..7c5bb2b 100644 --- a/docs/crud/configuration.md +++ b/docs/crud/configuration.md @@ -162,16 +162,16 @@ $configuration->setField('index', 'My field', TextField::class, [ `App\Core\Crud\Field\TextField` -| Option | Type | Default | Description | -| ------ | ---- | ------- | ----------- | -| `view` | `string` | `@Core/admin/crud/field/text.html.twig` | The templated rendered | +| Option | Type | Default | Description | +| ------ | ---- | ------- | ----------- | +| `view` | `string` | `@Core/admin/crud/field/text.html.twig` | The templated rendered | ### DateField `App\Core\Crud\Field\DateField` -| Option | Type | Default | Description | -| ------ | ---- | ------- | ----------- | +| Option | Type | Default | Description | +| ------ | ---- | ------- | ----------- | | `view` | `string` | `@Core/admin/crud/field/date.html.twig` | The templated rendered | | `format` | `string` | `Y-m-d` | The date format | @@ -179,8 +179,8 @@ $configuration->setField('index', 'My field', TextField::class, [ `App\Core\Crud\Field\DatetimeField` -| Option | Type | Default | Description | -| ------ | ---- | ------- | ----------- | +| Option | Type | Default | Description | +| ------ | ---- | ------- | ----------- | | `view` | `string` | `@Core/admin/crud/field/date.html.twig` | The templated rendered | | `format` | `string` | `Y-m-d H:i:s` | The date format | @@ -188,21 +188,29 @@ $configuration->setField('index', 'My field', TextField::class, [ `App\Core\Crud\Field\ButtonField` -| Option | Type | Default | Description | -| ------ | ---- | ------- | ----------- | -| `view` | `string` | `@Core/admin/crud/field/button.html.twig` | The templated rendered | -| `button_attr` | `array` | `[]` | Button HTML attributes | -| `button_attr_builder` | `callabled` | `null` | A callable data and used to generate `button__attr` | -| `button_tag` | `string` | `button` | HTML tag of the button | +| Option | Type | Default | Description | +| ------ | ---- | ------- | ----------- | +| `view` | `string` | `@Core/admin/crud/field/button.html.twig` | The templated rendered | +| `button_attr` | `array` | `[]` | Button HTML attributes | +| `button_attr_builder` | `callabled` | `null` | A callable data and used to generate `button__attr` | +| `button_tag` | `string` | `button` | HTML tag of the button | ### ImageField `App\Core\Crud\Field\ImageField` -| Option | Type | Default | Description | -| ------ | ---- | ------- | ----------- | -| `view` | `string` | `@Core/admin/crud/field/image.html.twig` | The templated rendered | -| `image_attr` | `array` | `[]` | Image HTML attributes | +| Option | Type | Default | Description | +| ------ | ---- | ------- | ----------- | +| `view` | `string` | `@Core/admin/crud/field/image.html.twig` | The templated rendered | +| `image_attr` | `array` | `[]` | Image HTML attributes | + +### BooleanField + +`App\Core\Crud\Field\BooleanField` + +| Option | Type | Default | Description | +| ------ | ---- | ------- | ----------- | +| `view` | `string` | `@Core/admin/crud/field/boolean.html.twig` | The templated rendered | ## setMaxPerPage