Skip to content

Releases: CrowdStrike/ember-headless-form

[email protected]

27 Nov 15:08
52713f6
Compare
Choose a tag to compare

Patch Changes

  • #488 ba43b09 Thanks @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.

[email protected]

27 Sep 16:46
f546022
Compare
Choose a tag to compare

Minor Changes

[email protected]

15 Jul 15:02
78f8c4b
Compare
Choose a tag to compare

Patch Changes

[email protected]

18 Dec 17:59
68f1d0d
Compare
Choose a tag to compare

Major Changes

  • #40 9b4f12b Thanks @simonihmig! - Add ember-headless-form-yup addon

    Provides a helper that can be used to connect the validation capabilities of yup to ember-headless-form.

Patch Changes

[email protected]

18 Dec 17:59
68f1d0d
Compare
Choose a tag to compare

Major Changes

Patch Changes

  • #118 5d75011 Thanks @simonihmig! - Fix changeset-helper to work with global resolution

    The 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]:

[email protected]

25 May 14:06
95eb97f
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • #136 da9f16c Thanks @simonihmig! - Yield submit and reset actions

    <HeadlessForm> yields submit and reset actions, that can be used in place of the native buttons.

  • #134 a3908fc Thanks @simonihmig! - Add support for reset button

    Click a native reset button will reset the state of the form.

  • #132 757353d Thanks @simonihmig! - Support reactivity when @data is updated

    This 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.

[email protected]

24 Apr 17:44
2f071b5
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

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

[email protected]

24 Apr 17:44
2f071b5
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • #118 5d75011 Thanks @simonihmig! - Fix changeset-helper to work with global resolution

    The 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]:

[email protected]

09 Mar 12:10
56b6a06
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

03 Mar 16:11
43994a9
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Major Changes