diff --git a/src/view/05_forms.md b/src/view/05_forms.md index 2b7ac21..4d80959 100644 --- a/src/view/05_forms.md +++ b/src/view/05_forms.md @@ -137,6 +137,54 @@ The view should be pretty self-explanatory by now. Note two things: 2. We use `node_ref` to fill the `NodeRef`. (Older examples sometimes use `_ref`. They are the same thing, but `node_ref` has better rust-analyzer support.) +## Special Cases: ` +} +``` + +### `` element also does not have a `value` attribute, _or_ a `value` property. +Instead, its value is determined by the `selected` attribute of its ` + + + +} +``` + [Click to open CodeSandbox.](https://codesandbox.io/p/sandbox/5-forms-0-5-rf2t7c?file=%2Fsrc%2Fmain.rs%3A1%2C1)