GithubHelp home page GithubHelp logo

What about AngularJs about jsonform HOT 6 CLOSED

jsonform avatar jsonform commented on May 15, 2024
What about AngularJs

from jsonform.

Comments (6)

tidoust avatar tidoust commented on May 15, 2024

I'm not sure what sort of suggestions you're looking for. JSON Form is great as a declarative mechanism to generate useful HTML forms. It does not make assumptions about the underlying framework you might be using but equally does not directly integrate with frameworks in the sense that it does not generate markup and code that directly ties in framework models, views or controllers.

There is no plan to integrate with AngularJS. I do have "plans" (well, "dreams" might be more appropriate) for reorganizing JSON Form in a much more modular way that would make it easier to integrate with existing frameworks but truth is I have no idea when (or even if) I'll be able to get to it.

from jsonform.

fiddur avatar fiddur commented on May 15, 2024

An interrresting angular integration would be two-way-binding of the schema, so that the form can be changed by changing the schema. Imagine one part of the page changing the required state of a property in a json-schema and the input field is automatically marked thus.

Another two-way binding would be to the form values, but that might be easier done after initiating the form anyway…

from jsonform.

dlodeprojuicer avatar dlodeprojuicer commented on May 15, 2024

Hi there, have you guys tried implementing Angular yet? I am looking at adding Angular UI attributes. Before I dig in, I wanted to check if anyone has tried something...

Yes? No? Mayb?

from jsonform.

fiddur avatar fiddur commented on May 15, 2024

We've started a re-implementation of jsonform from scratch using angular. It is compatible with jsonform, using the same approach on the form definition, and uses angulars form-helper for two-way binding etc. We've dropped some dependencies in favour of angular..

We haven't implemented all the features that are in jsonform, just the one we've been using ourselves so far.

Check it out on https://github.com/Textalk/angular-schema-form

from jsonform.

dlodeprojuicer avatar dlodeprojuicer commented on May 15, 2024

NICE! Looks good, it really is a good start. Thank you.

from jsonform.

tchapi avatar tchapi commented on May 15, 2024

https://github.com/json-schema-form/angular-schema-form seems active and well-documented for Angular, so that's the way to go if you need it !

from jsonform.

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.