diff --git a/src/docs/2_Examples.md b/src/docs/2_Examples.md index 1406a9d..48066f5 100644 --- a/src/docs/2_Examples.md +++ b/src/docs/2_Examples.md @@ -11,7 +11,7 @@ filename: 2_Examples.md import { form, field } from 'svelte-forms'; import { required } from 'svelte-forms/validators'; - const name = field('name', '', [required()]); + const name = field('name', '', [required()], { checkOnInit: true }); const myForm = form(name);