Require defense component input before showing Save button

This commit is contained in:
richard-dds
2019-06-12 15:58:20 -04:00
parent 0bafa51bb9
commit 31d95e51bc
4 changed files with 15 additions and 5 deletions

View File

@@ -15,7 +15,6 @@ export default {
handleFieldChange: function(event) {
const { value, name, valid, parent_uid, watch } = event
if (typeof this.fields[name] !== undefined) {
this[name] = value
this.fields[name] = valid
if (parent_uid === this._uid || watch) {
this.changed = true