This commit is contained in:
2020-04-17 14:37:48 +00:00
parent e73665da5b
commit 6873df59a0
3 changed files with 13 additions and 2 deletions

View File

@@ -1509,6 +1509,9 @@ ol p {
------------------------ /WIKI ---------------------------
todo: document that emojis can be used in any text field and key combo on windows is winkey-period
-other os's too?
todo: enter new tag in widget doesn't trigger dirty?
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?!

View File

@@ -175,7 +175,8 @@ export default {
/**
todo:
flag as dirty when edited
todo: Add wikiContent field to form defintions at server so can hide or show in customization
- Also for dataLists? (for reporting not grid I mean)
if can't edit and no content then don't show at all
- does it need to have a column wrapper then and remove it from the parent form?

View File

@@ -204,7 +204,14 @@
@input="fieldValueChanged('customFields')"
></gz-custom-fields>
</v-col>
<v-col cols="12">
<!-- Show the wiki unless hidden by form customization or not read only, or if it has content -->
<v-col
v-if="
form().showMe(this, 'wikiContent') &&
(!formState.ReadOnly || obj.wikiContent)
"
cols="12"
>
<gz-wiki
ref="wikiContent"
v-model="obj.wikiContent"