This commit is contained in:
2019-04-17 22:36:33 +00:00
parent bc5f37ccf8
commit 3610c44ad7
3 changed files with 10 additions and 5 deletions

View File

@@ -88,6 +88,7 @@ All platforms and browsers
- I.E. so that can change save button enabled and colour when state of form broken rules changes?
- Surface property that will force an item to be surfaced to the left of the menu in the app-bar
- Keep the original in the menu though for people that are used to it?
- reorganize SAVE, DELETE ETC, put a divider between main form actions and then all the myriad of secondary things

View File

@@ -19,6 +19,7 @@
<span>{{ appBar.title}}</span>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn icon>
<v-icon>fa-save</v-icon>
</v-btn>

View File

@@ -181,20 +181,22 @@ export default {
title: this.$gzlocale.get("Widget"),
helpUrl: "intro/#searching",
menuItems: [
{
title: this.$gzlocale.get("Duplicate"),
icon: "clone",
key: "duplicate"
},
{
title: this.$gzlocale.get("Save"),
icon: "save",
surface: true,
key: "save"
},
{
title: this.$gzlocale.get("Delete"),
icon: "trash-alt",
key: "delete"
},
{ divider: true, inset: false },
{
title: this.$gzlocale.get("Duplicate"),
icon: "clone",
key: "duplicate"
}
]
});
@@ -275,6 +277,7 @@ export default {
stubTestClick() {
this.$gzevent.$emit("menu-replace-item", {
title: this.$gzlocale.get("Save"),
surface: true,
icon: "save",
color: "error",
disabled: true,