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
The getChoices() method always converts the choices to strings.
We cannot always go back from string to original object -- e.g.,
for enums which override toString() to print something nice.
Better to just use the original choices from getItem().getChoices().
This also makes the getChoices method more concise.
0 commit comments