@felte/reporter-cvapi
v1.1.10
Published
An error reporter for Felte using the browser's Constraint Validation API
Downloads
394
Maintainers
Readme
@felte/reporter-cvapi
A Felte reporter that uses the browser's constraint validation API to display your error messages.
Installation
npm install --save @felte/reporter-cvapi
# Or, if you use yarn
yarn add @felte/reporter-cvapi
Usage
Add it to the extend
property of Felte's createForm
configuration object.
import reporter from '@felte/reporter-cvapi';
const { form } = createForm({
// ...
extend: reporter,
// ...
});