Giter VIP home page Giter VIP logo

Comments (9)

AnthyG avatar AnthyG commented on July 27, 2024 1

Might be because validateOnChange gets called after the component gets initialized, I'll check this later or you can see if this is the case and report back.

from svelte-forms.

AnthyG avatar AnthyG commented on July 27, 2024 1

Sorry, I forgot to add myself a reminder to check on this.
@DhyeyMoliya, thanks for the PR!

As I re-read the whole code I noticed that you could also just check if anything in the form is dirty and only then show the invalidated state. But I guess @DhyeyMoliya' implementation is better :D

from svelte-forms.

AnthyG avatar AnthyG commented on July 27, 2024 1

I can't create a release, because I'm not the Owner, only a Contributor (who rewrote some stuff to make it work better).
However, I guess I can leave a good review on your PR and maybe @chainlist will accept it in no time :?

from svelte-forms.

AnthyG avatar AnthyG commented on July 27, 2024 1

If you need this fix ASAP, then you could also just look into using your fork as a local npm dependency (at least I'm quite sure, that there is something like that).

from svelte-forms.

DhyeyMoliya avatar DhyeyMoliya commented on July 27, 2024

I also have the same issue. Setting initCheck : false does not make any difference.

from svelte-forms.

DhyeyMoliya avatar DhyeyMoliya commented on July 27, 2024

I have added a pull request that fixes this issue. @AnthyG please check it out. It will be great help if you can release a new version as soon as you can. Because I want to use it in my project 🙏 .

from svelte-forms.

DhyeyMoliya avatar DhyeyMoliya commented on July 27, 2024

Thanks @AnthyG , can you quickly move forward and create a new Release. So, I can update it in my project. I'm nearing a deadline 😄.

from svelte-forms.

AnthyG avatar AnthyG commented on July 27, 2024

This issue has been resolved with #23.

from svelte-forms.

chainlist avatar chainlist commented on July 27, 2024

As @AnthyG said, this issue has been resolved with #23.

from svelte-forms.

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.