Update valid prop on MultiCheckboxInput to return true if the field is optional
This commit is contained in:
@@ -14,6 +14,7 @@ export default {
|
||||
default: () => [],
|
||||
},
|
||||
initialOtherValue: String,
|
||||
optional: Boolean,
|
||||
},
|
||||
|
||||
data: function() {
|
||||
@@ -45,7 +46,7 @@ export default {
|
||||
|
||||
computed: {
|
||||
valid: function() {
|
||||
return this.showValid
|
||||
return this.optional || this.showValid
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user