nova_forms

Function Select

Source
pub fn Select<T>(props: SelectProps<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