File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ import IconArrowUp from 'vue-material-design-icons/ArrowUp.vue'
9090import IconCheckboxBlankOutline from ' vue-material-design-icons/CheckboxBlankOutline.vue'
9191import IconDelete from ' vue-material-design-icons/TrashCanOutline.vue'
9292import IconDragIndicator from ' ../Icons/IconDragIndicator.vue'
93+ import IconPlus from ' vue-material-design-icons/Plus.vue'
9394import IconRadioboxBlank from ' vue-material-design-icons/RadioboxBlank.vue'
9495
9596import NcActions from ' @nextcloud/vue/components/NcActions'
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export default defineComponent({
127127 */
128128 onCreateAnswer ( index : number , answer : FormsOption ) : void {
129129 this . $nextTick ( ( ) => {
130- this . $nextTick ( ( ) => this . focusIndex ( index ) )
130+ this . $nextTick ( ( ) => this . focusIndex ( index + 1 ) )
131131 } )
132132 this . updateOptions ( [ ...this . options , answer ] )
133133 } ,
You can’t perform that action at this time.
0 commit comments