Merge pull request #320 from naturalethic/form-input-event-radio-value
Capture correct radio button value in a form input event
This commit is contained in:
2 files changed
+19
-9
No files matched your search
@@ -20,6 +20,8 @@ fn app(cx: Scope) -> Element {
|
||||
input { r#type: "text", name: "username" }
|
||||
input { r#type: "text", name: "full-name" }
|
||||
input { r#type: "password", name: "password" }
|
||||
input { r#type: "radio", name: "color", value: "red" }
|
||||
input { r#type: "radio", name: "color", value: "blue" }
|
||||
button { r#type: "submit", value: "Submit", "Submit the form" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user