You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2024. It is now read-only.
Formbar needs to initialise the fields twice when doing a validation:
The first run is when first loading the form. All fields are build
The second run is on validation. Formbar now checks which fields based on the condionals of the form are relevant for validation. Currently the only way to check this is to reinit (redo step 1) the fields and evaluate all rules while collecting the fields.
This is not well implemented and seems to be not necessary. Further this might cause performance issues but in some tests a form with may rules the seconds run doesn't take to much time:
To show the relative difference: ~4seconds for both calls and ~3.6 seconds with only the first.
The text was updated successfully, but these errors were encountered:
Formbar needs to initialise the fields twice when doing a validation:
This is not well implemented and seems to be not necessary. Further this might cause performance issues but in some tests a form with may rules the seconds run doesn't take to much time:
To show the relative difference: ~4seconds for both calls and ~3.6 seconds with only the first.
The text was updated successfully, but these errors were encountered: