This commit is contained in:
@@ -1515,6 +1515,16 @@ todo: enter new tag in widget doesn't trigger dirty?
|
|||||||
todo: Test widget form as bizamdinlimited read only mode because I think several things are not right in read only mode
|
todo: Test widget form as bizamdinlimited read only mode because I think several things are not right in read only mode
|
||||||
todo: BUG Something fucked with history? When I click on a widget's history button in admin user history view it shows two created record with differing timestamps
|
todo: BUG Something fucked with history? When I click on a widget's history button in admin user history view it shows two created record with differing timestamps
|
||||||
- note, it doesn't seem to do it on the most recent widgets, but only on the first few created for some reason?!
|
- note, it doesn't seem to do it on the most recent widgets, but only on the first few created for some reason?!
|
||||||
|
todo: Not sure I like not being able to logout from a widget edit form
|
||||||
|
- put back?
|
||||||
|
- Put in nav menu to left (seems logical that way) and remove from any other menu
|
||||||
|
- as bottom option
|
||||||
|
todo: would like to see who I'm logged in as at all times
|
||||||
|
- In menu instead of "Home" text?
|
||||||
|
- In status bar at bottom?
|
||||||
|
- need a place to show notification alert also so maybe will need this going forward
|
||||||
|
- like v7 has
|
||||||
|
-
|
||||||
|
|
||||||
todo: QUOTE icon being used is fa-edit, but, that is much more useful in the UI for edit buttons on things, so change quote icon to something else
|
todo: QUOTE icon being used is fa-edit, but, that is much more useful in the UI for edit buttons on things, so change quote icon to something else
|
||||||
|
|
||||||
|
|||||||
@@ -564,6 +564,17 @@ export default {
|
|||||||
// NOTE: that in a form this should only be used with non stock-required fields, if they are already required they cannot be hidden
|
// NOTE: that in a form this should only be used with non stock-required fields, if they are already required they cannot be hidden
|
||||||
//
|
//
|
||||||
showMe(vm, formCustomTemplateFieldName) {
|
showMe(vm, formCustomTemplateFieldName) {
|
||||||
|
//special check for wikiContent
|
||||||
|
//if read only then can't add any content and if no content then no reason to show it at all
|
||||||
|
if (formCustomTemplateFieldName == "wikiContent") {
|
||||||
|
if (
|
||||||
|
vm.formState.readOnly &&
|
||||||
|
(vm.obj.wikiContent == null || vm.obj.wikiContent.length == 0)
|
||||||
|
) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let template =
|
let template =
|
||||||
window.$gz.store.state.formCustomTemplate[vm.formCustomTemplateKey];
|
window.$gz.store.state.formCustomTemplate[vm.formCustomTemplateKey];
|
||||||
if (template === undefined) {
|
if (template === undefined) {
|
||||||
|
|||||||
@@ -205,13 +205,7 @@
|
|||||||
></gz-custom-fields>
|
></gz-custom-fields>
|
||||||
</v-col>
|
</v-col>
|
||||||
<!-- Show the wiki unless hidden by form customization or not read only, or if it has content -->
|
<!-- Show the wiki unless hidden by form customization or not read only, or if it has content -->
|
||||||
<v-col
|
<v-col v-if="form().showMe(this, 'wikiContent')" cols="12">
|
||||||
v-if="
|
|
||||||
form().showMe(this, 'wikiContent') &&
|
|
||||||
(!formState.ReadOnly || obj.wikiContent)
|
|
||||||
"
|
|
||||||
cols="12"
|
|
||||||
>
|
|
||||||
<gz-wiki
|
<gz-wiki
|
||||||
ref="wikiContent"
|
ref="wikiContent"
|
||||||
v-model="obj.wikiContent"
|
v-model="obj.wikiContent"
|
||||||
|
|||||||
Reference in New Issue
Block a user