I have to agree with <@UE0E6UWAJ> - null in a comb...
# tornadofx
e
I have to agree with @alex - null in a combobox is problematic, because it would be impossible for the combobox to determine which item is selected. Think about it - the list selection listener does lots of
indexOf()
calls, which would return -1 for
null
. @thomasnield Maybe you can create a custom subclass of your domain object that means
null
? If you have
Customer
, then add
class NullCustomer : Customer
?
👍 1