feat(#4): Add comparison for versions, refactor version restoring
This commit is contained in:
@@ -94,6 +94,7 @@ function getDropdownItems(formElementId: string, formElementPosition: number): D
|
||||
}
|
||||
|
||||
function updateFormOptions(formOptions: FormOptionDto[], formElementIndex: number) {
|
||||
console.log('Updating form options for element index:', formElementIndex, formOptions)
|
||||
const updatedModelValue = [...props.modelValue]
|
||||
updatedModelValue[formElementIndex] = { ...updatedModelValue[formElementIndex], options: formOptions }
|
||||
emit('update:modelValue', updatedModelValue)
|
||||
|
||||
Reference in New Issue
Block a user