diff --git a/package-lock.json b/package-lock.json index bb95acfdf021bbc6fe3768edc522167cb7bbdc47..e95d38d8221d2689eec907f3573e87311cb56f85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@coscine/project-creation", - "version": "1.5.1", + "version": "1.5.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/CreateProject.vue b/src/CreateProject.vue index 66c16fe9310a8c9b690a2b127932b58a34d6a91d..7c1927948b9dc6d7bcd84a810f14b74c0a48b68e 100644 --- a/src/CreateProject.vue +++ b/src/CreateProject.vue @@ -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);