nova_forms

Function Radio

Source
pub fn Radio<T>(props: RadioProps<T>) -> impl IntoView
where T: IntoEnumIterator + FromStr<Err = ParseError> + Into<&'static str> + Clone + Copy + Default + Eq + Hash + Display + 'static,
Expand description

A component that renders an input field. It takes a datatype as a type parameter and automatically handles parsing and validation.

§Required Props

§Optional Props