dillon1000/react

Commit

Fix behavior of ReactDOMSelect

Closes #250.

Test Plan:
With multiple and not, verified: With defaultValue, the correct option is picked initially, user changes change the selection, and changes to defaultValue have no effect. With value, the correct option is picked initially, user changes do nothing, and changes to value change the selection.

Also ran the tests.
Browse files
Changed paths2 files
First-parent comparison
M src/dom/components/ReactDOMSelect.js ModifiedA src/dom/components/__tests__/ReactDOMSelect-test.js Added
Patch

Files changed

Rendering syntax-highlighted changes…