How to use comments in schema and uischema?

Hi all,

I am working on a very complex form. To make it a little bit maintainable I would like to be able to add comments to the json schema and uischema.

Maybe something like this:

{"COMMENT": "---------------------- 2.D. ------------------------"},

If I add this line to my uischema I see this message in my web form: “No applicable renderer found!”
Is there a way to ignore these comment lines?

Hi @cornelos,

All additional properties of a valid UI Schema are ignored. So you should be able to add as many comment properties as you’d like.

Your example element

{"COMMENT": "---------------------- 2.D. ------------------------"}

does not work as it’s not a valid UI Schema element.

1 Like