react-hook-form / documentation

📋 Official documentation
http://react-hook-form.com
MIT License
727 stars 1.04k forks source link

issue: typo/grammar-issues in /docs/useform/seterror #1054

Closed DevWedeloper closed 8 months ago

DevWedeloper commented 8 months ago

Version Number

n/a

Codesandbox/Expo snack

n/a

Steps to reproduce

n/a

Expected behaviour

Typo in this site

https://react-hook-form.com/docs/useform/seterror

This

This method will force set isValid formState to false, however, it's important to aware isValid will always be derived by the validation result from your input registration rules or schema result.

should be this

This method will force set isValid formState to false. However, it's important to be aware that isValid will always be derived from the validation result of your input registration rules or schema result.

This

There are certain keyword which need to avoid before conflicting with type check. They are type, types

should be this

There are certain keywords that need to be avoided to prevent conflicts with type checking. They are 'type' and 'types'.

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Code of Conduct

bluebill1049 commented 8 months ago

would you like to send a PR on this?

DevWedeloper commented 8 months ago

I have created a pull request for this issue. You can review it here: PR react-hook-form/react-hook-form#1053.