I found out that when a text is passed to ComboBox::setText that is not in the combobox list, ComboBox::getSelectedID() returns 0 instead of -1.
The documentation tells me that it should return -1.
So, just a small thing to report.
I found out that when a text is passed to ComboBox::setText that is not in the combobox list, ComboBox::getSelectedID() returns 0 instead of -1.
The documentation tells me that it should return -1.
So, just a small thing to report.
Thanks, I’ll update the documentation to be correct.