roadmap
roadmap copied to clipboard
Fix default question option numbering when adding new options
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).
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.