dillon1000/react

Commit

Changed the error message displayed when a select element has props.multiple set to true and value set to null (#11141)

* Corrects error message for select with props.multiple set to true and a null value.

* Don't bother deduplicating based on type

* Make the code a bit simpler (and more verbose)
Browse files
Changed paths4 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMInput-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMSelect-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMTextarea-test.js ModifiedM packages/react-dom/src/shared/ReactDOMNullInputValuePropHook.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…