sshahine / JFoenix

JavaFX Material Design Library
MIT License
6.27k stars 1.05k forks source link

getSelectionModel().select("") method not working for String parameter values #1158

Closed Dooardarshan closed 3 years ago

Dooardarshan commented 3 years ago

Hi i don't know you have addressed this issue before but i couldn't find any solution online When i try to programmatically select a value in JFXCombobox (like combobox setSelectedValue() in swing) i get below error

no suitable method found for select(String) method SingleSelectionModel.select(CAP#1) is not applicable (argument mismatch; String cannot be converted to CAP#1)

Is there anyway i can set select by a string value?