Struct ybc::MultiSelectProps
source · pub struct MultiSelectProps {
pub name: String,
pub value: Vec<String>,
pub update: Callback<Vec<String>>,
pub children: Children,
pub classes: Classes,
pub size: Option<Size>,
pub list_size: u32,
pub loading: bool,
pub disabled: bool,
}
Fields§
§name: String
The name
attribute for this form element.
value: Vec<String>
The controlled value of this form element.
update: Callback<Vec<String>>
The callback to be used for propagating changes to this element’s value.
children: Children
The option
& optgroup
tags of this select component.
classes: Classes
§size: Option<Size>
The size of this component.
list_size: u32
Size of the list to display.
loading: bool
Display a loading spinner within this component.
disabled: bool
Disable this component.
Trait Implementations§
source§impl Clone for MultiSelectProps
impl Clone for MultiSelectProps
source§fn clone(&self) -> MultiSelectProps
fn clone(&self) -> MultiSelectProps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<MultiSelectProps> for MultiSelectProps
impl PartialEq<MultiSelectProps> for MultiSelectProps
source§fn eq(&self, other: &MultiSelectProps) -> bool
fn eq(&self, other: &MultiSelectProps) -> bool
source§impl Properties for MultiSelectProps
impl Properties for MultiSelectProps
impl StructuralPartialEq for MultiSelectProps
Auto Trait Implementations§
impl !RefUnwindSafe for MultiSelectProps
impl !Send for MultiSelectProps
impl !Sync for MultiSelectProps
impl Unpin for MultiSelectProps
impl !UnwindSafe for MultiSelectProps
Blanket Implementations§
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.