This library provides a set of components that can be used to build forms. Or if you prefer, you can build your own components. You must use any of these components inside the form context.
Schema
The schema is an object that contains all fields of the form. Each field must have a regular expression or a “primitive type” as value. The key of each field is the name of the field.
Here is where the context form is created. You must use the faivform function to create a form.
This function receives a configuration object with a fields property, which is an object that receives the schema of the form. You can also pass an Adapter function instead of the schema.
Submitting a form
To submit a form, you must use the submit function and pass it to the on:submit event of the form.
Built-in components
You can use the built-in components to build your forms easily. Here is an example using the Field component.