- Issue created by @smustgrave
- First commit to issue fork.
- Merge request !12453Issue #3367302: Convert allowed field label option values to constants → (Open) created by Unnamed author
- 🇮🇳India ajinkya45 Pune
I have submitted an MR that converts the allowed field label option values to constants inside FieldLabelOptionsTrait. No functional changes, only refactor to remove magic keys.
- 🇮🇳India ajinkya45 Pune
Thanks for the feedback! I've updated the MR to use a PHP enum (`FieldLabelVisibility`) instead of constants, following the suggestion from @mstrelan and confirmed by @smustgrave. The trait now uses the enum's values for clarity and type-safety. Ready for re-review.