Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.06 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.06 KB

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