pub struct Props {
pub name: String,
pub placeholder: String,
pub value: String,
pub rows: u32,
pub id: String,
pub disabled: bool,
pub required: bool,
pub invalid: bool,
pub readonly: bool,
pub resize: Resize,
}Expand description
Textarea rendering properties
Fields§
§name: StringForm field name
placeholder: StringPlaceholder text
value: StringText content inside textarea
rows: u32Number of rows (default 4)
id: StringUnique identifier
disabled: boolWhether field is disabled
required: boolWhether field is required
invalid: boolWhether field shows invalid state
readonly: boolWhether field is read-only
resize: ResizeResize behavior
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl RefUnwindSafe for Props
impl Send for Props
impl Sync for Props
impl Unpin for Props
impl UnsafeUnpin for Props
impl UnwindSafe for Props
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