Closed delyriand closed 1 year ago
With the PR, it is possible to add a locale in form option to display the ui elements with the locale.
An example in ProductTypeExtension in dist file.
In request payload, we have the locale code:
And if i display the {{ sylius.localeCode }} in the template of the html ui element:
{{ sylius.localeCode }}
With the PR, it is possible to add a locale in form option to display the ui elements with the locale.
An example in ProductTypeExtension in dist file.
In request payload, we have the locale code:
And if i display the![image](https://user-images.githubusercontent.com/465524/229156383-e7eb9978-375b-495c-b709-3cf840117594.png)
{{ sylius.localeCode }}
in the template of the html ui element: