pub struct TextAreaProps {Show 25 fields
pub rows: Option<i64>,
pub cols: Option<i64>,
pub value: Option<AttrValue>,
pub field_type: TextFieldType,
pub label: Option<AttrValue>,
pub placeholder: Option<AttrValue>,
pub icon: Option<AttrValue>,
pub icon_trailing: Option<AttrValue>,
pub disabled: bool,
pub char_counter: Option<TextAreaCharCounter>,
pub outlined: bool,
pub helper: Option<AttrValue>,
pub helper_persistent: bool,
pub required: bool,
pub max_length: Option<u64>,
pub validation_message: Option<AttrValue>,
pub min: Option<AttrValue>,
pub max: Option<AttrValue>,
pub size: Option<i64>,
pub step: Option<i64>,
pub auto_validate: bool,
pub validity_transform: Option<ValidityTransform>,
pub validate_on_initial_render: bool,
pub oninput: Callback<String>,
pub name: Option<AttrValue>,
}Expand description
Fields§
§rows: Option<i64>§cols: Option<i64>§value: Option<AttrValue>§field_type: TextFieldType§label: Option<AttrValue>§placeholder: Option<AttrValue>§icon: Option<AttrValue>§icon_trailing: Option<AttrValue>§disabled: bool§char_counter: Option<TextAreaCharCounter>For boolean value true, TextAreaCharCounter::External is to be used.
Boolean value false results in character counter not being shown so
None should be used
outlined: bool§helper: Option<AttrValue>§helper_persistent: bool§required: bool§max_length: Option<u64>§validation_message: Option<AttrValue>§min: Option<AttrValue>Type: number | string so I’ll leave it as a string
max: Option<AttrValue>Type: number | string so I’ll leave it as a string
size: Option<i64>§step: Option<i64>§auto_validate: bool§validity_transform: Option<ValidityTransform>§validate_on_initial_render: bool§oninput: Callback<String>§name: Option<AttrValue>Trait Implementations§
Source§impl Clone for TextAreaProps
impl Clone for TextAreaProps
Source§fn clone(&self) -> TextAreaProps
fn clone(&self) -> TextAreaProps
Returns a duplicate 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 for TextAreaProps
impl PartialEq for TextAreaProps
Source§impl Properties for TextAreaProps
impl Properties for TextAreaProps
impl StructuralPartialEq for TextAreaProps
Auto Trait Implementations§
impl Freeze for TextAreaProps
impl !RefUnwindSafe for TextAreaProps
impl !Send for TextAreaProps
impl !Sync for TextAreaProps
impl Unpin for TextAreaProps
impl !UnwindSafe for TextAreaProps
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.