lcFormValidation
lcFormValidation copied to clipboard
Javascript based form validation library, third party library / framework agnostic.
The data model binded to the form may contain numerical attributes that are not being considered in the "required" validator
In the _Validating the entire form_ example the viewModel is `{ login, password }` and it should be ` { firstName, lastName }` ``` const viewModel = { login: '[email protected]',...
Something like: ```javascript const hotelFormValidationConstraints: ValidationConstraints = { fields: { name: [{ validator: Validators.required }], city: [], } }; ``` Will produce an undefined FieldValidationResult, e.g.: ``` ``` **Uncaught (in...
The official package name is `lc-form-validation`. Shouldn't we change the repo name as well? Just for consistency...
It would serve as seed project for others to create new validators (mini projects).
Take a simple sample and add some flags implement some simple multilanguage.
When we are going to validate a form and we want to get fieldErrors, i.e in React, we have to : ```javascript (formValidationResult) => { const dataFormErrors: DataFormErrors = {...
Bumps [vue](https://github.com/vuejs/core) from 2.2.6 to 3.0.0. Changelog Sourced from vue's changelog. 3.0.0 (2020-09-18) 3.0.0-rc.13 (2020-09-18) Bug Fixes hmr: make hmr working with class components (#2144) (422f05e) reactivity: avoid length mutating...