This commit is contained in:
@@ -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?
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user