Coder Social home page Coder Social logo

Comments (8)

NewOldMax avatar NewOldMax commented on September 27, 2024

Validator checks the value of component props. You should just pass it. What problem do you have?

from react-form-validator-core.

DeepakM02 avatar DeepakM02 commented on September 27, 2024

I am not able to get whole form validity and use form validator in select, desc input type. when I use in desc then it converts to input type text. How to add validation rules with multiple parameter.

from react-form-validator-core.

NewOldMax avatar NewOldMax commented on September 27, 2024

can you reproduce your issue here?

from react-form-validator-core.

DeepakM02 avatar DeepakM02 commented on September 27, 2024

Yeah, Finally I have added link I applied validator for input type text but for type select, desc, and others it is not working and I am not able to use form methods means how to disable button if a form is invalid.

from react-form-validator-core.

NewOldMax avatar NewOldMax commented on September 27, 2024

You're using this library wrong. You should create your own SelectValidator component in the same way as TextValidator in readme. Also there is no <input type="select">, but <select>

from react-form-validator-core.

DeepakM02 avatar DeepakM02 commented on September 27, 2024

yeah I did as you said above but it did not work i will share the code and I am not able to use forms method to disable submit button when form invalid.

from react-form-validator-core.

NewOldMax avatar NewOldMax commented on September 27, 2024

you should use options={this.options()}

from react-form-validator-core.

NewOldMax avatar NewOldMax commented on September 27, 2024

https://codesandbox.io/s/v6n31l8700

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.