Fix reset workingFromStore, fix star rating required, fix checkboxes

This commit is contained in:
Julien Nahum
2024-01-17 14:52:32 +01:00
parent b4d0008766
commit 1a6b5dd5d7
5 changed files with 19 additions and 21 deletions

View File

@@ -45,6 +45,12 @@ export const useWorkingFormStore = defineStore('working_form', {
this.selectedFieldIndex = null
this.showAddFieldSidebar = false
this.showEditFieldSidebar = false
},
reset() {
this.content = null
this.selectedFieldIndex = null
this.showEditFieldSidebar = null
this.showAddFieldSidebar = null
}
}
})