Select box options not matching state on select change event #1916
I have a select box with options 0 to 5. Select box onchange event will always set the selected state to 5. On first selection of any option, it does select 5, however not in subsequent selections.
On any subsequent selections, the option should remain as 5.
However, subsequent selections, does not remain 5.
Hoping i'm not the one to fix it.
Steps to Reproduce (for bugs)
https://jsfiddle.net/7tj9pyet/ with Mithril 1.1.3, tested on Chromium and Vivaldi.
The text was updated successfully, but these errors were encountered:
I hadn't yet seen your previous message before posting mine. Removing the
@pygy I tried to write the test, but I hit a problem the moment I do:
Sounds like I need to mess with domMock which I think I won't. Can you take over? Also how do you run just a single test? I don't think you need me to remove
* Trying to fix MithrilJS#1916 * Remove test for rendering select options. Add back after resolving issue MithrilJS#1978. * Add MithrilJS#1916 fix to change log. * Revert "Remove test for rendering select options. Add back after resolving issue MithrilJS#1978." This reverts commit d4c1be7. * Comment on why failing test for MithrilJS#1916 is commented out.