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
After implementing server-side rendered validation errors, the validator package was needed in form-control.ts
This breaks the independence of our packages.
Find a way such that validator is not a dependency of the form package: If the user did not install the validator package, then validation should simply be skipped. The question is, how do we dynamically import the validator package only if it is installed?
The text was updated successfully, but these errors were encountered:
Also, I think It would be nice if we could show users a warning in the terminal if they used validators in their form control but forgot to install the validator package!
Something like:
"Warning: Install @astro-reactive/validator to work with validators"?
After implementing server-side rendered validation errors, the validator package was needed in
form-control.ts
This breaks the independence of our packages.
Find a way such that validator is not a dependency of the form package: If the user did not install the validator package, then validation should simply be skipped. The question is, how do we dynamically import the validator package only if it is installed?
The text was updated successfully, but these errors were encountered: