tiaanduplessis / react-hook-form-persist

Persist and populate react-hook-form form using storage of your choice
MIT License
168 stars 23 forks source link

`include` option is missing #28

Open remorses opened 2 years ago

remorses commented 2 years ago

The readme shows the following example

useFormPersist('form', {watch, setValue, include: ['email'] });

This option doesn't actually exist

I think it makes sense to add this option because most of the time you want to persist only 1 or 2 fields and not the whole form