pub fn SpTextfield(_: SpTextfieldProps) -> ElementExpand description
Single-line text input.
Maps to <sp-textfield>. Fires standard DOM input, focus, and blur
events. Setting invalid to true renders the SWC error state (red ring
and aria-invalid). Setting disabled to true renders the SWC disabled
state and blocks focus/input at the DOM level.
ยงProps
For details, see the props struct definition.