roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Removing question_option in admin template triggers a full reload

Open nicolasfranck opened this issue 2 years ago • 0 comments

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?

nicolasfranck avatar Feb 28 '23 10:02 nicolasfranck