This commit is contained in:
2019-03-11 23:08:34 +00:00
parent 263426a741
commit 6550307caa
3 changed files with 6 additions and 1 deletions

View File

@@ -28,6 +28,9 @@ export default {
return false;
}
},
Max255(ltkey, value) {
return this.MaxLength(ltkey, value, 255);
},
After(startDate, endDate) {
if (startDate === undefined || startDate === null) {
return false;

View File

@@ -8,6 +8,7 @@
v-model="obj.name"
:counter="255"
:label="this.$gzlocale.get('WidgetName')"
:rules="[this.$gzv.Max255('WidgetName',obj.name)]"
name="name"
required
></v-text-field>