We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e00e051 commit 05867eaCopy full SHA for 05867ea
packages/react-dom-bindings/src/client/ReactDOMOption.js
@@ -56,7 +56,7 @@ export function validateOptionProps(element: Element, props: Object) {
56
if (props.selected != null && !didWarnSelectedSetOnOption) {
57
console.error(
58
'Use the `defaultValue` or `value` props on <select> instead of ' +
59
- 'setting `selected` on <option>.',
+ 'setting `selected` on <option>. Otherwise form reset may not work as expected.',
60
);
61
didWarnSelectedSetOnOption = true;
62
}
0 commit comments