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