Skip to content
Snippets Groups Projects

Fix: multiselect fields enable button

Merged Marcel Nellesen requested to merge Hotfix/760-projectEdit into Sprint/2020-06
2 files
+ 18
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 17
0
@@ -368,6 +368,23 @@ export default Vue.extend({
default: redirectToProject,
},
},
watch: {
'form.Discipline': function(newVal, oldVal) {
if(oldVal.length > 0) {
this.$v.form!.Discipline!.$touch()
}
},
'form.Institute': function(newVal, oldVal) {
if(oldVal.length > 0) {
this.$v.form!.Institute!.$touch()
}
},
'form.Keywords': function(newVal, oldVal) {
if(oldVal.length > 0) {
this.$v.form!.Keywords!.$touch()
}
}
},
methods: {
addTag(newTag: any) {
this.form.Keywords.push(newTag);
Loading