Skip to content
Snippets Groups Projects
Commit 32998c2b authored by Julian's avatar Julian
Browse files

Mark disabled fields as readonly

parent 59687322
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,7 @@ class JSONSchema:
"type": "string",
"title": str(field.label),
"description": str(field.help_text),
"readOnly": field.disabled
}
# string, number, integer, boolean.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment