- f4f4384: Use consistent API for query/set methods
isDirty()
,isTouched()
andisValid()
are now methods which can accept an optional pathgetFieldValue()
is renamed togetValue()
setFieldErrors()
is renamed tosetErrors()
setFieldValue()
is renamed tosetValue()
setFieldTouched()
is renamed tosetTouched()
getFieldvalue()
is renamed togetValue()
getFieldErrors()
is renmaed togetErrors()
getErrors()
now only returns an array of error messages asstring[]
- 3c955de: fix: track dirty state manually
- e873ea0: feat: expose getError, getValue, getErrors on form groups
- eabaac6: fix: add autocomplete to useTextField
- d1e5013: Enhance getErrors function to filter errors by path if provided. We also check for path prefix errors if no direct path errors exist.
- ba8616a: fix: avoid on input elements when using label element
- 272ad5c: Add group awareness to setInPath
- a33b351: allow nesting form groups
- dac9149: fix: propagate validation upwards in nested groups
- db5b16c: fix: prefer initial values inferring from schema rather than itself
- 8b5056c: feat(combobox): added the ability to reject new values
- 697f921: fix(combobox,select): activedecendant should highlight the focused not the selected
- 698ea26: fix(combobox): readonly should not allow value mutation
- ff7164a: fix(combobox): prevent creating new options on blur
- 3bdc80d: feat(combobox): added openOnFocus prop
- 7d16bd2: fix: useCustomField validation not running form schema
- eb2f547: feat: implement useComboBox
- cbb5b23: feat: Implement
useCustomField
closes #96
- 10ba736: fix: only scroll the option into view if it is not visible
- 6b83ee2: feat: Expose the validate function on custom fields
- c9c5b1e: fix: use deep ref for selectedOptions reactivity closes #100
- 145bc46: feat: add
isSubmitAttempted
touseForm
- 67cc35c: feat: Add
wasSubmitted
touseForm
- 898b804: feat: add
submitAttemptsCount
touseForm
- b3950ce: feat: adding
submitErrors
andsubmitErrorMessage
inuseFormField
.getSubmitError
and `getSubmitErrors' in 'useForm'.
- bf710e4: feat!: disabled fields no longer particpate in form validation state
- c6d8352: chore(bundle): chore: externalize standard schema and klona properly
- 4f21ebf: fix: do not apply hold or click events for right mouse buttons
- 9760517: feat(forms): implement scroll to first error
- dbaf982: feat: expose useLocale composable
- ef35098: fix: auto handle trigger button props for selects
- 78491b4: fix(slider): handle touch events for the slider
- 253da9b: chore: upgrade standard-schema spec to beta.4
- 3bb3ca5: docs: added comment for type props
- 6590dba: fix: add bounds check to move, swap and insert ops
- 9c0975f: feat: added ability to set valuetext for slider thumbs
- 3846584: feat: implement slider discrete values
- bbba9bf: feat: implement disabled form tree
- f39a332: feat: added toObject and make toJSON produce valid JSON output
- bd2adac: feat: added selectedOption and selectedOptions helpers
- e5c4a82: fix: disallow focus from disabled select trigger
- e0e11e9: fix: disallow focus from disabled switches
- 07d8f23: feat: add aria-disabled on trigger select props
- 729364a: feat: bump support for standard schema beta 4
- 8f053c3: fix(types): Make slider constrains numberish for consistency
- 7c4dcf8: fix(types): ensure produced field bindings are type safe
- 765f3c7: feat: exported FormSchema utility type
- eb6ab81: feat: add standard schema support
- 452b2dc: feat: warn if HTML validation language does not match configured language
- 3c9be6f: feat: expose formattedText from useNumberField
- 6e8f396: fix: avoid referencing window without SSR check
- 194cb14: fix: slider thumb data to return empty object instead of null
- 97a1cb9: feat: change isOpen to isPopoup open in useSelect
- 6c5cb5f: feat: drop support for indices path and only use dot paths
- 20cc8a9: fix: added value and placeholder props to useSelect
- 80364a3: feat: expose and rename element refs to els for consistency
- 0f7f05e: feat: make configuration reactive
- e4c8a99: feat: add detectDirection config
- 0da6b62: chore: added export entry for types
- 07584bf: fix: include cjs and mjs files in dist while publishing
- 1f13a5f: fix: avoid checking for File or Blob instances in SSR
- ba8771e: chore: rename package outputs
- 9c9b235: fix: ensure buttons props adapt to the element type
- e822e3f: feat: implement mouse wheel behavior for number field
- 159d86a: fix: form group getValues type should be of input type
- 94fe184: fix: add proper exports in package.json for all packages
- 3878bd2: feat: implement hidden field composable/component
- 00f920b: fix: expose iteration with root element cababilities to allow animation
- 03e74ec: feat: remove Repeat component API in favor of a singular API
- f9d9416: feat: add isFieldDirty to useForm
- 2a8e808: feat: add form repeater implementation
- 3759cc1: feat: reset re-validates by default
- 05ecda4: feat: drop inline groups
- 8ce260b: refactor: rename
mode
tobehavior
with setValue
- 4f70409: fix: skip disabled options from the focus order
- 591f7c4: fix: add novalidate to the formProps
- b01a6ce: fix: re-apply validationMessage after top-level validations are done
- 23c2f6d: fix: prevent popup opening when disabled
- 68b4d97: fix: handle disabled and readonly select states
- 0dd3d8e: fix: prevent thumb focus if disabled
- 2fb6f90: fix: slider vertical orientation thumb positioning
- 61a0ec0: feat: expose error message props on slider ecosystem
- 6523ba9: fix: run validation when thumb value changes
- 4205a69: fix: avoid reading validation state from grouped checkboxes or radios if a sibling is valid
- 90b0102: feat: add useThumbMetadata composable
- 419eeff: fix: adjust how thumbs are being registered in sliders
- ba4e329: fix: disable slider value changes when readonly or disabled
- 9d612aa: fix: add disableHtmlValidation on checkbox groups
- 0274c1f: fix: ensure validation is run on keydown for radios and checkboxes
- 59de4fd: feat(checkboxes): add ability to change group state
- 8a4aae1: fix: remove orientation prop from checkboxes
- 7a7c226: feat: add standalone prop to opt checkboxes out of the group
- c5ce5a1: fix: validate switches on click if custom
- 68775ed: feat: individual checkboxes should not report error message if in group
- 4cdde34: fix: readonly and disabled search fields are not clearable
- 4d2efc6: feat: add isGrouped state for checkboxes
- 16faf37: feat: add clear button label prop to useSearchField
- 14425a9: fix: switches readonly and disabled interaction prevention
- 90baccc: fix: radio focus navigation not wrapping around edges
- dc9cc4e: fix: navigating radios around disabled items
- d3f51a7: fix: readonly should not allow selection for checked
- b545643: fix: use click events to update validity for radios
- 33a630d: fix: readonly should prevent value mutation on radio and checkboxes
- 44a0bcd: fix: radio and checkboxes isDisabled state
- 7dc0e69: feat: allow non-button elements for spin buttons
- 1f9f28f: fix: disable number spin buttons if it is either disabled or readonly
- 2017403: fix: multi-input validity support for radio
- 0ce56e1: chore: upgrade dependencies and reduce vue minimum version
- f89c2c5: fix: use value prop to init textual fields values
- 2ebb2b7: fix: radio items no validating on multiple interactions
- be87654: feat: export version constant
- ff28d3d: fix: validation should trigger on grouped components changes
- c680f7f: fix: labels and descriptions aria are applied when their elements/values exist
- 056fda1: fix: include klona in output
- 0d551e5: feat: rename listbox props to popupProps
- 4634ea5: Initial internal test release