Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
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 The ember-headless-form-changeset example in the docs does not work #109
Updated dependencies [
241ccdc
,da9f16c
,a3908fc
,fdc4ff9
,7c7ff9f
,544509b
,67a5169
,6984523
,ad9072b
,757353d
,eb52f07
]:[email protected]
Major Changes
ad9072b
Thanks @NullVoxPopuli! - Initial releasePatch Changes
#80
241ccdc
Thanks @simonihmig! - Add@ignoreNativeValidation
for opting out of native validation#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.#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.#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.#76
544509b
Thanks @simonihmig! - Refactor radio group for better a11y#84
67a5169
Thanks @simonihmig! - Convert addon to use template tag#147
6984523
Thanks @NullVoxPopuli! - Upgrade dependency: ember-async-data to 1.0.1#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 Clarify semantics of updating@data
vs. changed data #130.#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
.[email protected]
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
241ccdc
,da9f16c
,a3908fc
,fdc4ff9
,7c7ff9f
,544509b
,67a5169
,6984523
,ad9072b
,757353d
,eb52f07
]:[email protected]
Patch Changes
#144
c62cc4a
Thanks @simonihmig! - Add documentation on updating and resetting form stateUpdated dependencies [
241ccdc
,da9f16c
,a3908fc
,92b4338
,5d75011
,fdc4ff9
,7c7ff9f
,544509b
,9b4f12b
,67a5169
,6984523
,ad9072b
,757353d
,eb52f07
]: