Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rules and workflow in json-schema? #362

Open
thardy opened this issue Aug 14, 2020 · 3 comments
Open

Rules and workflow in json-schema? #362

thardy opened this issue Aug 14, 2020 · 3 comments
Labels
question Just a question

Comments

@thardy
Copy link

thardy commented Aug 14, 2020

Are there any examples or modules for placing basic logic rules into json-schema? e.g. "If the answer to question 2 is yes, make questions 10-12 visible". Just wondering if flow control and rules are addressed anywhere by json-schema or if anyone has pioneered any work in that space.

@daniele-pecora
Copy link
Collaborator

The widget library ngx-schema-form-widgets-material based on Google Material Design contains a Wizard widget that might do what you need here.

You may have a look at the demo page click here , especially for the tab Complex types

I did create this library and due tue lack of time it is poorly documented. (The documentation is contained in the widgets html template files)

@daniele-pecora daniele-pecora added the question Just a question label Aug 17, 2020
@aahventures
Copy link

@daniele-pecora I saw this wizard widget before and was wondering if you could explain what it is for and how to exactly use it? I'm not sure from just looking at the demo.

@daniele-pecora
Copy link
Collaborator

@aahventures you might look into the source code folder _forms/...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Just a question
Projects
None yet
Development

No branches or pull requests

3 participants