#9527 closed bug (notabug)
Update Selected Option when changed in original selectbox
Reported by: | otris | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | [meta] ui.dev | Version: | git (not yet released) |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm trying to use the selectmenu to style a selectbox in my web application. The selectbox in the background is sometimes updated with a new entry which generally works fine. (The new entry is displayed in the dropdown list). However i mark the new entry with "selected" to indicate that this new entry should now be the selected entry, but this does not work.
I reproduced this here:
"Test1" stays selected but "newOption" should get selected after it is appended.
Change History (2)
comment:1 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 Changed 9 years ago by
Thanks for the bug report and the test case!
I've pushed a patch and a unit test.
Note: See
TracTickets for help on using
tickets.
Hi otris,
Thanks for taking the time to put this together. We don't use tickets before the widgets land in a released version, but I noted your test case and issue on our tracking wiki so that we can take a look http://wiki.jqueryui.com/w/page/12138056/Selectmenu#comment1377778726.