Skip to content

Commit 065e975

Browse files
authored
Update README.MD
Updated incorrect statement about isFieldValid prevalidate option validating the form to state it will prevalidate the field only
1 parent 061c242 commit 065e975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Similar to checking a forms validity, you can check individual fields too.
236236
v.isFieldValid(document.getElementById('field'))
237237
```
238238

239-
By default it will try to validate the form surrounding the field, before returning whether the field is valid. This can be disabled by setting the `prevalidate` parameter like so:
239+
By default it will try to validate the field, before returning whether the field is valid. This can be disabled by setting the `prevalidate` parameter like so:
240240

241241
```ts
242242
v.isFieldValid(document.getElementById('field'), false)

0 commit comments

Comments
 (0)