fix: Enable adding multiple new checklist task definitions dynamically in Admin page
Existing admin creation views for inline checklist task definitions has two issues when adding new task definitions dynamically
- The JSONSchemaEditor will not work in dynamically added rows
- ID column value is repeated and when saving violates the primary key constraint.
Both of these issues are resolved by this MR.
Supporting information
Discussions
None
Dependencies
short_stuff (https://github.com/Artconomy/short_stuff/).
Visual changes
ID field in Checklist Task Definition is made readonly.
Merge deadline
"None".
Testing instructions
Step by step procedure
- Login to Admin Page
- Click Add button in "Workflow" -> "Checklist definitions" on the left side panel.
- Create a Checklist definition and add Checklist task definitions.
- Add multiple checklist task definitions by clicking on "Add another Checklist task definition" button on bottom of "CHECKLIST TASK DEFINITIONS" sections.
Author notes and concerns
None
Edited by Sathis