This commit is contained in:
parent
f00c607115
commit
871e17d232
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue