Giter Club home page Giter Club logo

formhero's Introduction

Greetings ๐Ÿ––

You can read more here but the TLDR; I passionately code and build stuff ๐Ÿค“

discord badge


Donate / Support

If you like my work and would like to support it, I would of course be honored โค๏ธ
Github / Paypal / Buy me a coffee

formhero's People

Contributors

cupcakearmy avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jordanwen

formhero's Issues

How to achieve various use-cases

I really love your idea of this form, but I am unsure if I can achieve the following to see if I can move from react-hook-form.

[Background: I started with formik, but run into performance issues with pages with many fields. I am exploring react-hook-form, but running into this issue: I am generating the form components based on a dynamic schema in the 'render()' part -- but some custom components do not have interface to pass in ref. I am unable to useEffect to allocate the name refs by manual register, because this can't be done in the render() part! ]

I would like to know if your component can do the following:

  1. return the values in nested JSON format [ like RHF.getValues ( {nest:true} ); ]
  2. allow validators as part of field() e.g.
    {
    getter: xxx
    setter: yyy
    validator: zzzz
    }
  3. some existing components have multi-values that can be set and returned, for example have two parts in the component where we can set the currency and value, both of which are supposed to be affect "payment_value":5000 and "payment_currency":"USD". Can this be somehow hooked into formhero?

Thank you so much for your effort so far, it has given me very good ideas!

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.