Giter Site home page Giter Site logo

Comments (4)

cargallo avatar cargallo commented on August 18, 2024 2

I think that RHFInput is a game changer compared with other libraries, because it has the potential to hide the complexity of working with the library and also the code of the form stays pretty much simple. Look at the example, it's just working with RHFInput and I like the form syntax. In Formik, for example, to avoid form verbosity with MUI you have to use third party libraries.

from input.

bluebill1049 avatar bluebill1049 commented on August 18, 2024 1

we are moving RHFInput to the main repo :) in the next major version it will be better integrated with RHF and less props to pass in. thanks for your input here.

from input.

bluebill1049 avatar bluebill1049 commented on August 18, 2024

hey @cargallo the proper way will be use custom register. RHFInput is pretty much sugar syntax on top of it, but there are certain things RHFInput does make life easier, eg. if you want to reset default values for MUI, right now it's not easy to do that via their input ref (due to controlled component state live inside their component with animation). I am using custom register at work at the moment.

from input.

bluebill1049 avatar bluebill1049 commented on August 18, 2024

@cargallo thanks, I just need to give more time on RHFInput then. At least RHF offer a different solution on the table :)

from input.

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.