The reason behind the Condition.fn error when using YUP's conditional validation is that the function provided in the condition is returning a value other than true or false. The function should return a boolean value based on the condition provided.
Asked: 2023-05-25 09:05:29 +0000
Seen: 1 times
Last updated: May 25 '23