Coder Social home page Coder Social logo

feform's People

Contributors

chrisdibble avatar hadfieldn avatar kaloudis avatar sudeshbanskota avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

feform's Issues

Issues with React 16

Hey Chris. I'm having some issues that I think may be caused by the library using some deprecated React features. I'll see if I can come up with a simple test project that duplicates the issue, but what I'm seeing is that after I include a Form component on a page, any component that comes after the Form in the DOM doesn't respond to click events.

I'm not positive where the problem is coming from, but I"m wondering if it can be due to these issues:

  1. The project depends on React.PropTypes, which is deprecated in React 15 and will go away in React 16. This needs to be replaced by the new prop-types module.

  2. Also, it looks like there is a dependency on the old refs attribute, which has been replaced by a ref callback.

I'm not sure if the second issue is related to the problem I'm seeing or not.

Any chance you'd be able to look into this in the near future?

Feform runValidations function always validates all inputs

In some cases, such as when you have a form for a PATCH request, it makes sense to only validate the fields that aren't pristine (since these are the only ones we care about in these situations).

feform should have a property that, when set, causes validations to run for fields that aren't pristine.

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.