mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
adding a watch on the value for group count to validate that it is a natural number
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user