[v7] getValues is null when disabled={true}

Describe the bug
When using “getValues()” in “validate”, and set “isSubmitting” as disabled. The getValues will return strange values.

To Reproduce
Enter something in all input > click submit > check the console

Codesandbox link (Required)
https://codesandbox.io/s/react-hook-form-js-forked-7t0c8?file=/src/App.js

Expected behavior
getValues() should return current input no matter disabled or other status. Actually v6 is working in the same situation.

1 possible answer(s) on “[v7] getValues is null when disabled={true}