Lit forms inspired by angular reactive forms
Forms framework for lit inspired by Angular Forms.
> ⚠️ Please note that all versions prior to 1.0.0 of this library do not follow SemVer standards, thus, minor versions may introduce breaking changes.
``shell`
$ npm install --save lit-forms
`ts`
const form = FB.form(this, {
email: FB.control(''),
password: FB.control(''),
});
`html``
${form.attach()}
@lf:submit="${() => {
console.log(form.value);
}}"
>
* Support for native, Spectrum, Shoelace, vaadin or custom form fields
* Built-in validation
* Custom validators
* Structured form data with groups and arrays
* Zero dependencies
* Creating form builder (FB)
* Submitting form
* Structuring forms
* Custom form fields implementation
* Validation
* Events
* States
* Rxjs