Aswin - Does the plugin Config of the signalK s...
Does the plugin Config of the signalK server support dependencies in plugin.schema? I want to optionally hide certain settings. Or is there another way?
3 Replies
you can make the schema dynamic (make it a function that returns the schema instead of a static object)
but that only helps if you schema depends on something the server already knows, like what paths are available
if want to enable/add something in the form based on another field you'll need to look into UISchema, i have not used it but it has some capabilities to this end
So, where can I find the syntax for UISchema? It seems it is notto be the syntax provided by JSON forms.
GitHub
react-jsonschema-form-bs4/docs/form-customization.md at master · pe...
A React component for building Web forms from JSON Schema. - peterkelly/react-jsonschema-form-bs4