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
minor #17149 [Form] Example of customizing EnumType labels (robinbrisa)
This PR was submitted for the 6.1 branch but it was merged into the 5.4 branch instead.
Discussion
----------
[Form] Example of customizing `EnumType` labels
Default behavior when creating a EnumType form element is that the choice labels displayed to the user are the enum names.
This PR adds an example of how to use a function inside an enum to return labels and how to bind this function to the form element.
Commits
-------
65ece3e [Form] Example of customizing EnumType labels
0 commit comments