Fix reset workingFromStore, fix star rating required, fix checkboxes
This commit is contained in:
6
client/stores/working_form.js
vendored
6
client/stores/working_form.js
vendored
@@ -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
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user