You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grid render searches for the option 'template' of the original field type 'twig'
but field type 'string' is wanted. The errors are showed beneath.
Took some time to figure out where from this error came from...
Simple fix: reset options param options: ~
But maybe the GridRenderer or ... should not search for the parents field option!
Thanks
("The option "template" does not exist. Defined options are: "".")
The text was updated successfully, but these errors were encountered:
This happend while upgrading from sylius 1.8 to 1.10.14 (WIP)
php: 8.1
Symfony: 5.4.10
Example to reproduce:
(grid: sylius_admin_product)
Sylius original grid:
name: type: twig label: sylius.ui.name sortable: translation.name options: template: "@SyliusAdmin/Product/Grid/Field/name.html.twig"
Custom overridden grid:
name: type: string label: sylius.ui.name sortable: translation.name position: 3 {options: ~} (solution)
Grid render searches for the option 'template' of the original field type 'twig'
but field type 'string' is wanted. The errors are showed beneath.
Took some time to figure out where from this error came from...
Simple fix: reset options param
options: ~
But maybe the GridRenderer or ... should not search for the parents field option!
Thanks
("The option "template" does not exist. Defined options are: "".")
The text was updated successfully, but these errors were encountered: