Skip to content

$errors

The errors store is a writable store that contains the errors of the fields.

<script lang="ts">
import { faivform } from '@tuentyfaiv/svelte-form';
const form = faivform<Data>({
// ...config
});
const { errors } = $form;
console.log($errors);
</script>