ngx-schema-form icon indicating copy to clipboard operation
ngx-schema-form copied to clipboard

Rules and workflow in json-schema?

Open thardy opened this issue 5 years ago • 3 comments

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.

thardy avatar Aug 14 '20 05:08 thardy

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 avatar Aug 17 '20 05:08 daniele-pecora

@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.

aahventures avatar Sep 29 '20 06:09 aahventures

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

daniele-pecora avatar Sep 29 '20 07:09 daniele-pecora