[change] Allow multiple jsonschema widgets in one page
Earlier the schema.json was bound to each view. No matter how many different switcher were present, it was only loading one of them.
With this patch, fetching schema.json is bound to each switcher element. This allows fetching different JSONSchemas on the same page.
Coverage increased (+0.0008%) to 99.174% when pulling a53c16cfee43e6f98a1a5fd372847cea96fda964 on improve-jsonwidget into fcfa337ceb11ff85ad8922e7576f6c223185bc95 on master.
@pandafy I found a minor issue while testing the widget in the credentials edit page, can you replicate it?
Yes, I am able to replicate it and it is occurring on master branch as well. I have opened #334 for it.
I believe it is unrelated to this PR.
@pandafy you're right, so I think we can merge this one. Do you agree?
@pandafy Thanks for your integration.
I have also noticed the advanced mode code in the JS refers to an ID, but the CSS paths should be converted to use classes.