Component changelog
TextField changelog
Component-specific release notes collected from the full changelog. This page filters the published entries that mention TextField.
Release
v1.2.0
Minor Changes
-
1898db0: Add Field: Root, Label, Control, Description and Error parts that link a label, help text and an error to any form control. Ids,
aria-describedbyandaria-invalidare wired automatically, Error renders only while the field isinvalid, and every part carriesdata-invalid,data-disabled,data-required,data-focused,data-touchedanddata-dirty. Compose Rad UI's TextField or TextArea with<Field.Control asChild>. -
07e6783: Add
onValueChange(value, event)to TextField,TextField.Inputand TextArea: it's called with the new text afteronChange, so you don't needevent.target.value. Clearing withTextField.Resetreports''. -
07e6783: Add
Toolbar.Input, a text field that's one stop in the toolbar's arrow-key navigation. ArrowLeft and ArrowRight move the caret and leave the field only once the caret is at its start or end, and Home and End stay in the field. Roving focus now keeps a text field's own role and type instead of stamping button semantics on it.
Release
v1.0.0
Minor Changes
-
56ab619: Release
TextFieldand add theme styles forFieldset.TextFieldis now published. Previously it shipped with styles and tests but was missing from the export list, so@radui/ui/TextFielddid not resolve.Fieldsetnow renders with Rad UI styling in both themes instead of the browser default, and itsinvalidanddisabledprops have a visual effect.
Patch Changes
- 8ca42a5Expose TextField anatomy through stable
data-slotattributes.
Release
v0.5.0
Patch Changes
- a25ee5aAdd a work-in-progress
TextFieldcompound API with slot and reset fragments, updated styling, Storybook stories, and behavioral test coverage.