A Felte reporter that uses the browser's constraint validation API to display your error messages.
npm install --save @felte/reporter-cvapi
# Or, if you use yarn
yarn add @felte/reporter-cvapi
Add it to the extend
property of Felte's createForm
configuration object.
import reporter from '@felte/reporter-cvapi';
const { form } = createForm({
// ...
extend: reporter,
// ...
});