pub struct FormControlProps {Show 16 fields
pub control_type: String,
pub placeholder: Option<AttrValue>,
pub value: Option<AttrValue>,
pub disabled: bool,
pub readonly: bool,
pub required: bool,
pub size: Option<Size>,
pub plaintext: bool,
pub rows: Option<u8>,
pub class: Option<AttrValue>,
pub name: Option<AttrValue>,
pub node_ref: NodeRef,
pub onchange: Option<Callback<Event>>,
pub oninput: Option<Callback<InputEvent>>,
pub onfocus: Option<Callback<FocusEvent>>,
pub onblur: Option<Callback<FocusEvent>>,
}Fields§
§control_type: String§placeholder: Option<AttrValue>§value: Option<AttrValue>§disabled: bool§readonly: bool§required: bool§size: Option<Size>§plaintext: bool§rows: Option<u8>§class: Option<AttrValue>§name: Option<AttrValue>§node_ref: NodeRef§onchange: Option<Callback<Event>>§oninput: Option<Callback<InputEvent>>§onfocus: Option<Callback<FocusEvent>>§onblur: Option<Callback<FocusEvent>>Trait Implementations§
Source§impl PartialEq for FormControlProps
impl PartialEq for FormControlProps
Source§impl Properties for FormControlProps
impl Properties for FormControlProps
impl StructuralPartialEq for FormControlProps
Auto Trait Implementations§
impl Freeze for FormControlProps
impl !RefUnwindSafe for FormControlProps
impl !Send for FormControlProps
impl !Sync for FormControlProps
impl Unpin for FormControlProps
impl !UnwindSafe for FormControlProps
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.