[−][src]Struct yew_styles::forms::form_textarea::Props
Fields
value: String
Current value of the form control. Required
class_name: String
General property to add custom class styles
id: String
General property to add custom id
placeholder: String
Content to be appear in the form control when the form control is empty
textarea_style: Palette
The input style according with the purpose
textarea_size: Size
The size of the input
maxlength: u32
Maximum length (number of characters) of value
minlength: u16
Minimum length (number of characters) of value
disabled: bool
Whether the form control is disabled
name: String
The name of the textarea
readonly: bool
The value is not editable
required: bool
A value is required or must be check for the form to be submittable
autofocus: bool
Automatically focus the form control when the page is loaded
autocomplete: bool
Hint for form autofill feature
cols: u16
The visible width of the text control
rows: u16
The number of visible text lines for the control
spellcheck: bool
Specifies whether the
oninput_signal: Callback<InputData>
Signal to emit the event input
onblur_signal: Callback<FocusEvent>
Signal to emit the event blur
onkeypress_signal: Callback<KeyboardEvent>
Signal to emit the event keypress
error_state: bool
Error state for validation
error_message: String
Show error message when error_state is true
wrap: WrapText
Indicates how the control wraps text
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Props
impl !Send for Props
impl !Sync for Props
impl Unpin for Props
impl !UnwindSafe for Props
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,