pub fn Radio<T>(props: RadioProps<T>) -> impl IntoViewExpand description
A component that renders radio buttons from an enum.
§Required Props
- label:
impl Into<TextProp>- The label of the input field.
- bind:
impl Into<QueryString>- The query string that binds the input field to the form data.
§Optional Props
- debug_value:
impl Into<T>- The placeholder text of the input field.
- value:
impl Into<MaybeProp<T>>- The initial value of the input field.