adding a watch on the value for group count to validate that it is a natural number

This commit is contained in:
Assunta DeSanto
2022-08-31 23:16:33 -04:00
parent 29de980c32
commit 6c42f3f56c
@@ -1148,6 +1148,13 @@ export default {
this.addColumnRegexReplacement = null;
}
},
addColumnRegexGroupCount: function (oldVal, newVal) {
if (oldVal != newVal) {
if (newVal < 1) {
this.addColumnRegexGroupCount = 1;
}
}
},
},
created() {
if (this.elementsType !== "collection_contents") {