Minor Changes
-
#3252
2ac7fb1Thanks
@github-actions! - Add@zag-js/field. Label, describe, and validate a
native input, textarea, or select from one machine.It tracks
touched,dirty,filled, andfocusedfrom the control. Passdirtyortouchedwhen a form library
already owns those flags.Errors come from native
ValidityStateor yourvalidatefunction (sync or async).validationModechooses when
they show:onSubmit(default),onBlur, oronChange. An empty required field stays quiet until the user edits it
or submits.A field with several controls sets
targetto the item the label and validity own, and passes{ item }on
getInputProps/getSelectPropsfor each sibling.