Closed BFUculsion closed 5 years ago
Also, we're a user of your library and would like to offer our product to you for free. We enable your users to give you direct feature feedback, and want to give back to those projects we use. https://www.uclusion.com/
Hi
if you want to validate some other field while current field changes, you should do it manually (call validate
function for specific field or even for all form)
Hi, How does that work? I couldn't find that in the docs.
Thanks, Ben
On Sun, Apr 28, 2019 at 12:37 PM NewOldMax notifications@github.com wrote:
Hi if you want to validate some other field while current field changes, you should do it manually (call validate function for specific field or even for all form)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NewOldMax/react-form-validator-core/issues/50#issuecomment-487409161, or mute the thread https://github.com/notifications/unsubscribe-auth/AITSPG6TNZCPU4E4QWOPZQTPSX4IBANCNFSM4HI3OPJA .
Er, to be more specific, I couldn't figure out how to get the object and call validate on it. Do you have an example?
Thanks, Ben
On Sun, Apr 28, 2019 at 12:37 PM NewOldMax notifications@github.com wrote:
Closed #50 https://github.com/NewOldMax/react-form-validator-core/issues/50.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NewOldMax/react-form-validator-core/issues/50#event-2305422703, or mute the thread https://github.com/notifications/unsubscribe-auth/AITSPG6TNZCPU4E4QWOPZQTPSX4IBANCNFSM4HI3OPJA .
@BFUculsion sorry, I didn't see your answer. Can you reproduce your issue here https://codesandbox.io/s/new ?
@NewOldMax please check this https://codesandbox.io/s/distracted-smoke-0gvf9 . I want both input field dependent to each other.
For example, if you have a New Password and a Confirm New Password field, you can't make the Confirm New Password field validation switch to true if the New Password field changes.