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

@@ -43,6 +43,7 @@ DateTime field next
- API get code is incorrectly dealing with expired bearer cert, a 401 is returned and it tries to parse the result as if it succeeded when it really should trigger a login process - API get code is incorrectly dealing with expired bearer cert, a 401 is returned and it tries to parse the result as if it succeeded when it really should trigger a login process
- Time zone offset mismatch warning needs expansion, it should only prompt a few times (maybe or find a way to deal with this) and it should offer to change it at the server automatically - Time zone offset mismatch warning needs expansion, it should only prompt a few times (maybe or find a way to deal with this) and it should offer to change it at the server automatically
- Localize time zone mismatch warning
- Don't like popup messages, would rather see a notification icon and be part of that unless it's super critical - Don't like popup messages, would rather see a notification icon and be part of that unless it's super critical
- Implement a toaster or some similar notification - Implement a toaster or some similar notification

View File

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

View File

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