#[non_exhaustive]pub struct Select {
pub data_map: DataMap,
pub autocomplete: Option<Cow<'static, str>>,
pub disabled: bool,
pub form: Option<Cow<'static, str>>,
pub multiple: bool,
pub name: Option<Cow<'static, str>>,
pub required: bool,
pub size: Option<i64>,
/* private fields */
}Expand description
The HTML <select> element
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_map: DataMap§autocomplete: Option<Cow<'static, str>>Hint for form autofill feature
disabled: boolWhether the form control is disabled
form: Option<Cow<'static, str>>Associates the element with a form element
multiple: boolWhether to allow multiple values
name: Option<Cow<'static, str>>Name of the element to use for form submission and in the form.elements API
required: boolWhether the control is required for form submission
size: Option<i64>Size of the control