Skip to content

Latest commit

 

History

History
 
 

reporter-cvapi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@felte/reporter-cvapi

Tests Bundle size NPM Version codecov

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,
  // ...
});