-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Milestone
Description
Describe the bug
When using the useEntityTranslation option, filter labels are not translated correctly if the corresponding field is hidden from the index page via hideOnIndex.
In this case, the translation key is not looked up under entities.<EntityFQCN>.properties.<propertyName> as expected, but instead falls back to <propertyName> — resulting in the raw key being displayed as the filter label.
To Reproduce
- Enable
useEntityTranslationin yourDashboardController - Add a field and its corresponding filter to any CRUD controller
- Add the translation key as described in the documentation (
entities.<EntityFQCN>.properties.<propertyName>) - Open the filter dialog — the filter label is translated correctly ✅
- Hide the field from the index page using
hideOnIndex - Open the filter dialog again — the filter label is no longer translated ❌
Additional context
The issue likely originates here, where hidden fields appear to be filtered out before the proper translation token is generated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels