Jenesius Vue Form
Powerful system for working with forms and inputs. The deep library integrates with Vue (3 version only) and provides a large set of tools for working with forms.
Quick Example
Usage
This example demonstrates a simple use of this library using the login form as an example.
<template>
<form-field name = "login"/>
<form-field name = "password" type = "password"/>
<button @click = "handleLogin">Login</button>
</template>
<script setup>
import {FormField, Form} from "jenesius-vue-form";
const form = new Form();
function handleLogin() {
console.log(form.values) // { login: "", password: "" }
}
</script>
We connected two fields (login, password), arranged the corresponding types of provided libraries, industrial-level instances.
a form and creating a handler for entering which takes on the value of the form. This is an example of the simplest form of use.