CrowdStrike / ember-headless-form

Headless forms with a11y and validation support built in
https://ember-headless-form.pages.dev/
MIT License
29 stars 9 forks source link

Yield the current form data #379

Open simonihmig opened 5 months ago

simonihmig commented 5 months ago

Currently, the form data as changed by the user, is only available for the @onSubmit callback (unless you are in mutable mode). We could yield this.effectiveData though to give access to that data to the template, for e.g. dynamic forms that render/unrender new form elements based on the user input.