Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9527 closed bug (notabug)

Update Selected Option when changed in original selectbox

Reported by: otris Owned by:
Priority: minor Milestone: none
Component: [meta] Version: git (not yet released)
Keywords: Cc:
Blocked by: Blocking:


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 tj.vantoll

Resolution: notabug
Status: newclosed

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

comment:2 Changed 9 years ago by Felix Nagel

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.