FilteringSelect: onChange won't fire on changing to the first entry when displayedValue is set.
The use-case is a bit complicated, but you can check out the attached example.
I have a FilteringSelect? with some options. Because I want to make the user select one, I put a displayedvalue in there, that says "Unknown".
I added onChange to the FilteringSelect?, so every time the onChange event is fired, a alert shows up.
Now when the page is freshly loaded and the FilteringSelect? says "Unknown", I tried setting it to the FIRST option. But! The onChange event doesn't seem to fire here'''
The alert fires in every other occasion I have tested so far.
I saw this behaviour in 1.3.0 and 1.3.1.
Change History (4)
Owner: |
set to Douglas Hays
|
Priority: |
high →
normal
|
Resolution: |
→ invalid
|
Status: |
new →
closed
|
Component: |
Dijit →
Dijit - Form
|
minimal Test Case