diff --git a/src/views/admin/components/metadata-types/tainacan-form-item.vue b/src/views/admin/components/metadata-types/tainacan-form-item.vue index 54bbcd741..0be62bacb 100644 --- a/src/views/admin/components/metadata-types/tainacan-form-item.vue +++ b/src/views/admin/components/metadata-types/tainacan-form-item.vue @@ -33,7 +33,7 @@ ({{ itemMetadatum.metadatum.metadata_type_object.name }}) @@ -43,7 +43,7 @@ v-if="isTextInputComponent">

+ v-if="!$parent.hideHelpButtons && $parent.helpInfoBellowLabel && itemMetadatum.metadatum && itemMetadatum.metadatum.description"> {{ itemMetadatum.metadatum.description }}

+ v-if="!$parent.hideHelpButtons && $parent.helpInfoBellowLabel && itemMetadatum.metadatum && itemMetadatum.metadatum.description"> {{ itemMetadatum.metadatum.description }}

+ help-info-bellow-label={ helpInfoBellowLabel ? helpInfoBellowLabel.toString() : 'false' } > } @@ -339,7 +339,7 @@ export default [ type: String, default: __( 'Go to the item page', 'tainacan' ) }, - helpInfoBelowLabel: { + helpInfoBellowLabel: { type: Boolean, default: false }, @@ -379,7 +379,7 @@ export default [ sentFormMessage, showItemLinkButton, itemLinkButtonLabel, - helpInfoBelowLabel + helpInfoBellowLabel } = attributes; return
+ help-info-bellow-label={ helpInfoBellowLabel ? helpInfoBellowLabel.toString() : 'false' } >
} }, - /* Depecrated on Tainacan 0.18.3, due to the introduction of helpInfoBelowLabel */ + /* Depecrated on Tainacan 0.18.3, due to the introduction of helpInfoBellowLabel */ { attributes: { collectionId: { diff --git a/src/views/gutenberg-blocks/blocks/item-submission-form/edit.js b/src/views/gutenberg-blocks/blocks/item-submission-form/edit.js index 22bfed85b..649722cb9 100644 --- a/src/views/gutenberg-blocks/blocks/item-submission-form/edit.js +++ b/src/views/gutenberg-blocks/blocks/item-submission-form/edit.js @@ -54,7 +54,7 @@ export default function ({ attributes, setAttributes, className, isSelected, cli metadataSectionLabel, showItemLinkButton, itemLinkButtonLabel, - helpInfoBelowLabel, + helpInfoBellowLabel, showTermsAgreementCheckbox, termsAgreementMessage } = attributes; @@ -356,11 +356,11 @@ export default function ({ attributes, setAttributes, className, isSelected, cli