-
Enhancement
-
Resolution: Fixed
-
P4
-
fx2.0
It is currently impossible to use an arbitary doamin object as the input to the ChoiceBox-Control because the value displayed is simply the Object#toString() value. I'd like to propose that you:
a) as a minimum allow customization of the string value through some callback
b) as the ideal solution provide the same you do for ListView because that would allow one to even show images, ... in the drop down list
For now i solved the problem by wrapping my domain object into an extra class which implement the toString
a) as a minimum allow customization of the string value through some callback
b) as the ideal solution provide the same you do for ListView because that would allow one to even show images, ... in the drop down list
For now i solved the problem by wrapping my domain object into an extra class which implement the toString
- is blocked by
-
JDK-8100723 Add support for StringConverter to ChoiceBox
- Closed
- relates to
-
JDK-8127744 ChoiceBox doesn't use Converter for shown selected item
- Closed