diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt
index 316f4ef7..4e7afd1e 100644
--- a/ayanova/devdocs/todo.txt
+++ b/ayanova/devdocs/todo.txt
@@ -74,7 +74,7 @@ All platforms and browsers
- Wire up delete menu item
- api code is stubbed out for delete, need to write that as well
- DONE TODO navigating through menu doesn't "back" properly when clicking back on browser controls
-
+ = TODO: widget form now not localized title at menu top
- Widget list, refresh page causes items per page to reset back to 5 from custom setting, it should cache that shit at least for a session anyway
diff --git a/ayanova/src/api/gzmenu.js b/ayanova/src/api/gzmenu.js
index 1d9f2c0c..ff211e42 100644
--- a/ayanova/src/api/gzmenu.js
+++ b/ayanova/src/api/gzmenu.js
@@ -13,6 +13,7 @@ export default {
handleMenuChange(vm, ctx) {
vm.appBar.isMain = ctx.isMain;
vm.appBar.icon = ctx.icon;
+
vm.appBar.title = ctx.title;
//set the help url if presented or default to the top of the index
vm.appBar.helpUrl = ctx.helpUrl ? ctx.helpUrl : "index.html";
diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue
index 30e8128b..7ae083dd 100644
--- a/ayanova/src/views/inventory-widget-edit.vue
+++ b/ayanova/src/views/inventory-widget-edit.vue
@@ -13,7 +13,7 @@
transition="scale-transition"
class="multi-line"
outline
- >{{formState.errorBoxMessage}}
+ >{{ formState.errorBoxMessage }}
@@ -37,8 +40,8 @@
@click:clear="onChange('serial')"
:counter="10"
:label="this.$gzlocale.get('WidgetSerial')"
- :rules="[this.$gzform.maxLength(this,'serial',10)]"
- :error-messages="this.$gzform.serverErrors(this,'serial')"
+ :rules="[this.$gzform.maxLength(this, 'serial', 10)]"
+ :error-messages="this.$gzform.serverErrors(this, 'serial')"
ref="serial"
@change="onChange('serial')"
>
@@ -52,8 +55,11 @@
:counter="10"
:label="this.$gzlocale.get('WidgetCount')"
ref="count"
- :rules="[this.$gzform.integerValid(this,'count'),this.$gzform.required(this,'count')]"
- :error-messages="this.$gzform.serverErrors(this,'count')"
+ :rules="[
+ this.$gzform.integerValid(this, 'count'),
+ this.$gzform.required(this, 'count')
+ ]"
+ :error-messages="this.$gzform.serverErrors(this, 'count')"
required
@change="onChange('count')"
type="number"
@@ -68,8 +74,11 @@
:label="this.$gzlocale.get('WidgetDollarAmount')"
ref="dollarAmount"
required
- :rules="[this.$gzform.decimalValid(this,'dollarAmount'),this.$gzform.required(this,'dollarAmount')]"
- :error-messages="this.$gzform.serverErrors(this,'dollarAmount')"
+ :rules="[
+ this.$gzform.decimalValid(this, 'dollarAmount'),
+ this.$gzform.required(this, 'dollarAmount')
+ ]"
+ :error-messages="this.$gzform.serverErrors(this, 'dollarAmount')"
@change="onChange('dollarAmount')"
type="number"
>
@@ -81,16 +90,18 @@
v-model="obj.startDate"
:readonly="this.formState.readOnly"
ref="startDate"
- :error-messages="this.$gzform.serverErrors(this,'startDate')"
+ :error-messages="this.$gzform.serverErrors(this, 'startDate')"
@change="onChange('startDate')"
>
-
@@ -114,8 +125,11 @@
:readonly="this.formState.readOnly"
:label="this.$gzlocale.get('WidgetRoles')"
ref="roles"
- :rules="[this.$gzform.integerValid(this,'roles'),this.$gzform.required(this,'roles')]"
- :error-messages="this.$gzform.serverErrors(this,'roles')"
+ :rules="[
+ this.$gzform.integerValid(this, 'roles'),
+ this.$gzform.required(this, 'roles')
+ ]"
+ :error-messages="this.$gzform.serverErrors(this, 'roles')"
required
@change="onChange('roles')"
type="number"
@@ -125,15 +139,15 @@
- READY: {{formState.ready}}
+ READY: {{ formState.ready }}
- LOADING: {{formState.loading}}
+ LOADING: {{ formState.loading }}
- DIRTY: {{formState.dirty}}
+ DIRTY: {{ formState.dirty }}
- VALID: {{formState.valid}}
+ VALID: {{ formState.valid }}
- READONLY: {{formState.readOnly}}
+ READONLY: {{ formState.readOnly }}
@@ -154,7 +168,7 @@
-
+
/*
Sample widget record api v8