diff --git a/content/docs/forms.md b/content/docs/forms.md index 3d4292c8979..3db59632785 100644 --- a/content/docs/forms.md +++ b/content/docs/forms.md @@ -135,44 +135,36 @@ In HTML, ` - - - - - - - - - ); - } + }; + return ( +
+ + +
+ ); } +const rootElement = document.getElementById("root"); + +ReactDOM.render(, rootElement); ``` -[**Try it on CodePen**](https://codepen.io/gaearon/pen/JbbEzX?editors=0010) +[**Try it on CodeSandBox**](https://codesandbox.io/s/controlled-select-example-fls8j) Overall, this makes it so that ``, `