roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Fix default question option numbering when adding new options

Open aaronskiba opened this issue 9 months ago • 0 comments

Problem

When adding new question options using the "Add option" button in the question options form, the numbering is strange. Instead of using sequential numbers (1, 2, 3...), the system is using values derived from internal IDs, resulting in large, non-sequential numbers (e.g., 78578).

Image

Technical Details

The issue is in app/javascript/src/orgAdmin/questionOptions/index.js, where the .new_question_option click event is handled. It might be best to modify the code to use the current visible sequence of numbers rather than extracting values from element IDs.

aaronskiba avatar Apr 01 '25 17:04 aaronskiba