form-js / forms.js

Fully featured javascript form builder
https://formsjs.io/
8 stars 4 forks source link

Remove field value from form data when input is hidden based on conditions #28

Closed Trilmatic closed 3 months ago

Trilmatic commented 6 months ago

Currently when conditions are not met, the field is removed from the DOM, but the data object of Form class still contains the values. Ideally the value should be removed from the data object and appended again when the conditions are met and field is rendered back on page.

Trilmatic commented 4 months ago

This should be done before 1.1.0