You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removes the initial value set in the constructor and sets it to the first of the list.
This is not critical because you can manually set the initial value later with storeUserInput, but it doesnt look clean. If this is not fixed, at least warn about this behaviour in the javadoc.
--
From: this issue has been automatically imported from our old issue tracker
The text was updated successfully, but these errors were encountered:
Originally Opened: @Alfiva (2013-03-04 13:46:52)
After creating a Select1 object with initial value, e.g:
Select1 s=new Select1(hours, new Label("Dinner time", (String) null), PROP_PATH_REF8, null, "v2"));
But then setting the possible values with:
s.generateChoices(new String[] { "v1", "v2", "v3"});
Removes the initial value set in the constructor and sets it to the first of the list.
This is not critical because you can manually set the initial value later with storeUserInput, but it doesnt look clean. If this is not fixed, at least warn about this behaviour in the javadoc.
--
From: this issue has been automatically imported from our old issue tracker
The text was updated successfully, but these errors were encountered: