Coder Social home page Coder Social logo

Comments (4)

almet avatar almet commented on May 2, 2024

that's currently not implemented, but if you're willing to add one, don't hesitate!

from react-jsonschema-form.

n1k0 avatar n1k0 commented on May 2, 2024

We should definitely add support for hidden fields (with static value). @chmac, would you want to start working on this?

from react-jsonschema-form.

chmac avatar chmac commented on May 2, 2024

@n1k0 :-) If you can point me in the right direction I'm happy to have a look, but we're using this package inside meteor which makes developing on it a little tricky. I'm not exactly sure where my node_modules/ folder is to start messing with the source while the code is running...

from react-jsonschema-form.

n1k0 avatar n1k0 commented on May 2, 2024

You should definitely clone this repo and work using the existing unit and DOM integration test suites available.

Basically the idea here would be to create a new kind of widget, eg. HiddenWidget which would simply hold the associated formData value it's attached to. Also we should add support for using it to override default widget used to render a given field using the uiSchema object and a hidden widget value for that field.

If that sounds super complicated no big deal, you can either try or we'll take care of it. But if you want to work on this I'll provide guidance so you're not alone :)

from react-jsonschema-form.

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.