sulu / SuluFormBundle

Form Bundle for handling Dynamic and Symfony Forms in https://sulu.io
MIT License
81 stars 78 forks source link

Fix list heading does not fallback to default locale #359

Closed dev-newvisibility closed 1 year ago

dev-newvisibility commented 1 year ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
License MIT

What's in this PR?

This PR fixes the heading of form listings that show the field keys instead of their labels. This happens when the form is not localised in the admin's language.

Why?

We have a form that is localized in italian only. But our admin account use english as preferred language:

The first image shows the listing without the fix: nok

The second one with the fix: ok