Git Product home page Git Product logo

Comments (9)

vikaskumar89 avatar vikaskumar89 commented on May 29, 2024 1

@danteissaias yeah fix should be out in a couple of days.

from form.

vikaskumar89 avatar vikaskumar89 commented on May 29, 2024

Hey @crutchcorn
Can you assign this to me please

from form.

MiirzaBaig avatar MiirzaBaig commented on May 29, 2024

Can you aasign this issue to me?

from form.

vikaskumar89 avatar vikaskumar89 commented on May 29, 2024

hey @I-MirzaBaig
I am working on this. Could you pick any other open issue.

from form.

MiirzaBaig avatar MiirzaBaig commented on May 29, 2024

@vikaskumar89 Alright!

from form.

vikaskumar89 avatar vikaskumar89 commented on May 29, 2024

Hey @crutchcorn
The root cause of this error is because we have defined undefined for the submit cause that leads to validateSync returning early and not executing any onBlur/onChange validation.

error rootcause:

if (!validate) return

One solution that comes to my mind is in case of submit cause, we can execute either onChange or onBlur validation(whichever is defined in the field) but this would lead to incorrect errorMap detail in the state as the errorMapKey would be submit and the error would correspond to onChange/onBlur.

Do you have any alternate suggestion to fix this ?

from form.

vikaskumar89 avatar vikaskumar89 commented on May 29, 2024

Due to this errorMap array, we are facing this issue in #486, as the errorMap is not clear after a valid value is entered.

from form.

danteissaias avatar danteissaias commented on May 29, 2024

Is there currently a workaround to this?

from form.

crutchcorn avatar crutchcorn commented on May 29, 2024

This fix is released in 0.10.0!

from form.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.