Coder Social home page Coder Social logo

Comments (11)

NewOldMax avatar NewOldMax commented on September 26, 2024 1

@DeepakM02 check this one
https://codesandbox.io/embed/bold-bush-865xl
please use latest version of package if you can

from react-form-validator-core.

DeepakM02 avatar DeepakM02 commented on September 26, 2024 1

Please Update your documentation on github and npm portal because there you gave example with

from react-form-validator-core.

IvanTC95 avatar IvanTC95 commented on September 26, 2024

Is this a bug or...? @NewOldMax

from react-form-validator-core.

NewOldMax avatar NewOldMax commented on September 26, 2024

Hi, can you reproduce your issue at https://codesandbox.io/s/new ?

from react-form-validator-core.

DeepakM02 avatar DeepakM02 commented on September 26, 2024

hey @NewOldMax Please check it and tell me if i did any thing wrong here link

from react-form-validator-core.

sirajalam049 avatar sirajalam049 commented on September 26, 2024

@DeepakM02 , I saw your codes in the given link, I couldn't identify any problem. Can you please explain what the problem is that you are having?

from react-form-validator-core.

DeepakM02 avatar DeepakM02 commented on September 26, 2024

Validation are not working when you submit after uploading any file that does not match to rules.

from react-form-validator-core.

DeepakM02 avatar DeepakM02 commented on September 26, 2024

This is working but my shared link is not working. What's wrong with that. did i do something wrong ?
I did as they instructed in documentation.

from react-form-validator-core.

NewOldMax avatar NewOldMax commented on September 26, 2024

@IvanTC95 validation is triggering after every input change. So if you don't select any file it will trigger change with undefined value so isFile checks this value

from react-form-validator-core.

NewOldMax avatar NewOldMax commented on September 26, 2024

@DeepakM02 you can't set file value to <input type="file"> directly so your example won't work. You can follow my code as well to build custom validations

from react-form-validator-core.

NewOldMax avatar NewOldMax commented on September 26, 2024

@DeepakM02 now you can see FileValidator example in readme

from react-form-validator-core.

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.