Skip to content

Commit

Permalink
WIP 馃悰fix(Validation): remove ref.value check
Browse files Browse the repository at this point in the history
Closes: #9709
  • Loading branch information
moshyfawn committed Jan 3, 2023
1 parent 1647bb2 commit 079f7cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/logic/validateField.ts
Expand Up @@ -66,7 +66,6 @@ export default async <T extends NativeFieldValue>(
isUndefined(ref.value) &&
isUndefined(inputValue)) ||
inputValue === '' ||
ref.value === '' ||
(Array.isArray(inputValue) && !inputValue.length);
const appendErrorsCurry = appendErrors.bind(
null,
Expand Down

0 comments on commit 079f7cd

Please sign in to comment.