Releases: CrowdStrike/ember-headless-form
ember-headless-form@1.1.0
ember-headless-form@1.0.1
Patch Changes
- #421
ec33d19
Thanks @simonihmig! - Remove optional chaining inassert()
call to workaround upstream bug
ember-headless-form-yup@1.0.0
Major Changes
-
#40
9b4f12b
Thanks @simonihmig! - Addember-headless-form-yup
addonProvides 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
92b4338
Thanks @simonihmig! - Addember-headless-form-changeset
addonProvides a helper that can be used to connect the validation capabilities of a
Changeset
object from ember-changeset (and thus also ember-changeset-validations) to ember-headless-form.
Patch Changes
-
#118
5d75011
Thanks @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
da9f16c
Thanks @simonihmig! - Yieldsubmit
andreset
actions<HeadlessForm>
yieldssubmit
andreset
actions, that can be used in place of the native buttons. -
#134
a3908fc
Thanks @simonihmig! - Add support for reset buttonClick a native
reset
button will reset the state of the form. -
#132
757353d
Thanks @simonihmig! - Support reactivity when@data
is 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#2
of #130.
ember-headless-form@1.0.0-beta.2
Patch Changes
-
#80
241ccdc
Thanks @simonihmig! - Add@ignoreNativeValidation
for opting out of native validation -
#121
fdc4ff9
Thanks @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
544509b
Thanks @simonihmig! - Refactor radio group for better a11y -
#84
67a5169
Thanks @simonihmig! - Convert addon to use template tag
ember-headless-form-changeset@1.0.0-beta.1
Patch Changes
-
#118
5d75011
Thanks @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
7c7ff9f
Thanks @simonihmig! - YieldrawErrors
for custom error renderingBoth the form and each field yield a
rawErrors
property that gives access to the raw validation error objects for custom error rendering. -
#74
eb52f07
Thanks @simonihmig! - Use describedby instead of errormessage ARIA attributeSupport for
aria-errormessage
is 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
ad9072b
Thanks @NullVoxPopuli! - Initial release
ember-headless-form-yup@1.0.0-beta.0
Major Changes
-
#40
9b4f12b
Thanks @simonihmig! - Addember-headless-form-yup
addonProvides a helper that can be used to connect the validation capabilities of yup to ember-headless-form.
Patch Changes
- Updated dependencies [
ad9072b
]:- ember-headless-form@1.0.0-beta.0