dillon1000/react
Commit
Browse files 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)
Changed paths4 files
First-parent comparisonpackages/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…