diff --git a/examples/form.rs b/examples/form.rs index 3637826da..3b8d470b3 100644 --- a/examples/form.rs +++ b/examples/form.rs @@ -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" } } }