Removing question_option in admin template triggers a full reload
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
3.1.1
Behaviour:
When editing a template, and creating an answer of type "checkbox", I am presented with a list of possible options. Adding options is straightforward: add all of them, and then click save at the end of the form.
But when I want to remove one of them, the workflow is different: the link "remove" triggers a full reload of the page. Loading a template is already slow, so makes removing options very slow.
I imagine that an update of the "question_option" is just a POST request with all question attributes inside of it? Why not simply remove the input elements, and wait for the user to hit the save button?