Releases: CrowdStrike/ember-headless-form
ember-headless-form@1.1.1
Patch Changes
- #488
ba43b09Thanks @bradaune-cs! - Fixes a bug where if the submit button is clicked multiple times with async validation present the submit callback would trigger. Now if there is pending validation the submit will be cancelled to avoid extra calls.
ember-headless-form@1.1.0
ember-headless-form@1.0.1
Patch Changes
- #421
ec33d19Thanks @simonihmig! - Remove optional chaining inassert()call to workaround upstream bug
ember-headless-form-yup@1.0.0
Major Changes
-
#40
9b4f12bThanks @simonihmig! - Addember-headless-form-yupaddonProvides a helper that can be used to connect the validation capabilities of yup to ember-headless-form.
Patch Changes
ember-headless-form-changeset@1.0.0
Major Changes
-
#37
92b4338Thanks @simonihmig! - Addember-headless-form-changesetaddonProvides a helper that can be used to connect the validation capabilities of a
Changesetobject from ember-changeset (and thus also ember-changeset-validations) to ember-headless-form.
Patch Changes
-
#118
5d75011Thanks @simonihmig! - Fix changeset-helper to work with global resolutionThe previous API worked by passing the helper as-is without actually invoking it:
@validate={{validate-changeset}}, as the expected return value of the helper is a function itself. But this does not work when globally resolving the helper by its string reference, i.e. when not using<template>tag or Embroider. This change fixes the API of the helper, but requires your usage to change from@validate={{validate-changeset}}to@validate={{(validate-changeset)}}, invoking it without any additional arguments.Fixes #109
-
Updated dependencies [
241ccdc,da9f16c,a3908fc,fdc4ff9,7c7ff9f,544509b,67a5169,6984523,ad9072b,757353d,eb52f07]:- ember-headless-form@1.0.0
ember-headless-form@1.0.0-beta.3
Patch Changes
-
#136
da9f16cThanks @simonihmig! - Yieldsubmitandresetactions<HeadlessForm>yieldssubmitandresetactions, that can be used in place of the native buttons. -
#134
a3908fcThanks @simonihmig! - Add support for reset buttonClick a native
resetbutton will reset the state of the form. -
#132
757353dThanks @simonihmig! - Support reactivity when@datais updatedThis supports updates of
@data(or any of its tracked properties) getting rendered into the form, while previously filled in ("dirty") data is being preserved. This is the implementation for case#2of #130.
ember-headless-form@1.0.0-beta.2
Patch Changes
-
#80
241ccdcThanks @simonihmig! - Add@ignoreNativeValidationfor opting out of native validation -
#121
fdc4ff9Thanks @simonihmig! - Support numbers for Inputs with `@type="number"For
@type="number"Inputs we support passing its value as a real number, and parse and return it as a number as well. -
#76
544509bThanks @simonihmig! - Refactor radio group for better a11y -
#84
67a5169Thanks @simonihmig! - Convert addon to use template tag
ember-headless-form-changeset@1.0.0-beta.1
Patch Changes
-
#118
5d75011Thanks @simonihmig! - Fix changeset-helper to work with global resolutionThe previous API worked by passing the helper as-is without actually invoking it:
@validate={{validate-changeset}}, as the expected return value of the helper is a function itself. But this does not work when globally resolving the helper by its string reference, i.e. when not using<template>tag or Embroider. This change fixes the API of the helper, but requires your usage to change from@validate={{validate-changeset}}to@validate={{(validate-changeset)}}, invoking it without any additional arguments.Fixes #109
-
Updated dependencies [
241ccdc,fdc4ff9,544509b,67a5169]:- ember-headless-form@1.0.0-beta.2
ember-headless-form@1.0.0-beta.1
Patch Changes
-
#77
7c7ff9fThanks @simonihmig! - YieldrawErrorsfor custom error renderingBoth the form and each field yield a
rawErrorsproperty that gives access to the raw validation error objects for custom error rendering. -
#74
eb52f07Thanks @simonihmig! - Use describedby instead of errormessage ARIA attributeSupport for
aria-errormessageis very incomplete across screen readers, therefore switching to the better supported, but less specificaria-describedby.
ember-headless-form@1.0.0-beta.0
Major Changes
- #34
ad9072bThanks @NullVoxPopuli! - Initial release