PDA

View Full Version : add a default value to comboBox that uses custom model



jfinn88
12th October 2016, 20:18
I have a comboBox that uses a custom model that pulls users from a hierarchical settings file that's store users for the application, by key-value pairs.

I want to added a defualt vlaue to the comoboBox but not sure if this is possible....



myModel.append({text: All_Users})
currentIndex = find(All_Users)


Added after 28 minutes:

update: okay scratching that idea and going a different route