Struct material_yew::text_inputs::TextAreaProps
source · 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 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<TextAreaProps> for TextAreaProps
impl PartialEq<TextAreaProps> for TextAreaProps
source§fn eq(&self, other: &TextAreaProps) -> bool
fn eq(&self, other: &TextAreaProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for TextAreaProps
impl Properties for TextAreaProps
impl StructuralPartialEq for TextAreaProps
Auto Trait Implementations§
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> 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>
§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.