Fixes more v-model issues due to Vue3 migration #794.
This commit is contained in:
parent
a186bf76b4
commit
9738ac7dc2
|
@ -177,9 +177,9 @@
|
||||||
aria-role="listitem">
|
aria-role="listitem">
|
||||||
<b-checkbox
|
<b-checkbox
|
||||||
v-if="registeredViewModes[viewMode] != undefined"
|
v-if="registeredViewModes[viewMode] != undefined"
|
||||||
:value="checkIfViewModeEnabled(viewMode)"
|
:model-value="checkIfViewModeEnabled(viewMode)"
|
||||||
:disabled="checkIfViewModeEnabled(viewMode) && form.enabled_view_modes.filter((aViewMode) => (registeredViewModes[aViewMode] && registeredViewModes[aViewMode].full_screen != true)).length <= 1"
|
:disabled="checkIfViewModeEnabled(viewMode) && form.enabled_view_modes.filter((aViewMode) => (registeredViewModes[aViewMode] && registeredViewModes[aViewMode].full_screen != true)).length <= 1"
|
||||||
@input="updateViewModeslist(viewMode)">
|
@update:model-value="updateViewModeslist(viewMode)">
|
||||||
<p>
|
<p>
|
||||||
<strong>
|
<strong>
|
||||||
<span
|
<span
|
||||||
|
@ -721,7 +721,7 @@
|
||||||
:loading="isFetchingPages"
|
:loading="isFetchingPages"
|
||||||
check-infinite-scroll
|
check-infinite-scroll
|
||||||
@select="onSelectCoverPage($event)"
|
@select="onSelectCoverPage($event)"
|
||||||
@input="fecthCoverPages"
|
@update:model-value="fecthCoverPages"
|
||||||
@focus="clearErrors('cover_page_id')"
|
@focus="clearErrors('cover_page_id')"
|
||||||
@infinite-scroll="fetchMoreCoverPages">
|
@infinite-scroll="fetchMoreCoverPages">
|
||||||
<template #default="props">
|
<template #default="props">
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
:false-value="'no'"
|
:false-value="'no'"
|
||||||
:native-value="form.display_in_repository_level_lists == 'yes' ? 'yes' : 'no'"
|
:native-value="form.display_in_repository_level_lists == 'yes' ? 'yes' : 'no'"
|
||||||
name="display_in_repository_level_lists"
|
name="display_in_repository_level_lists"
|
||||||
@input="clearErrors('display_in_repository_level_lists')">
|
@update:model-value="clearErrors('display_in_repository_level_lists')">
|
||||||
<help-button
|
<help-button
|
||||||
:title="$i18n.getHelperTitle('filters', 'display_in_repository_level_lists')"
|
:title="$i18n.getHelperTitle('filters', 'display_in_repository_level_lists')"
|
||||||
:message="$i18n.getHelperMessage('filters', 'display_in_repository_level_lists')"
|
:message="$i18n.getHelperMessage('filters', 'display_in_repository_level_lists')"
|
||||||
|
|
|
@ -188,7 +188,7 @@
|
||||||
<b-select
|
<b-select
|
||||||
v-model="selectedConditionalMetadatumId"
|
v-model="selectedConditionalMetadatumId"
|
||||||
:placeholder="$i18n.get('label_select_metadatum')"
|
:placeholder="$i18n.get('label_select_metadatum')"
|
||||||
@input="reloadConditionalValueComponent()">
|
@update:model-value="reloadConditionalValueComponent()">
|
||||||
<option
|
<option
|
||||||
v-for="conditionalMetadatum of availableConditionalMetadata"
|
v-for="conditionalMetadatum of availableConditionalMetadata"
|
||||||
:key="conditionalMetadatum.id"
|
:key="conditionalMetadatum.id"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<span>
|
<span>
|
||||||
<b-checkbox
|
<b-checkbox
|
||||||
:model-value="allCollectionsOnPageSelected"
|
:model-value="allCollectionsOnPageSelected"
|
||||||
@input="selectAllCollectionsOnPage()">
|
@update:model-value="selectAllCollectionsOnPage()">
|
||||||
{{ $i18n.get('label_select_all_collections_page') }}
|
{{ $i18n.get('label_select_all_collections_page') }}
|
||||||
</b-checkbox>
|
</b-checkbox>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<span>
|
<span>
|
||||||
<b-checkbox
|
<b-checkbox
|
||||||
:model-value="allOnPageSelected"
|
:model-value="allOnPageSelected"
|
||||||
@input="selectAllOnPage()">
|
@update:model-value="selectAllOnPage()">
|
||||||
{{ $i18n.get('label_select_all_taxonomies_page') }}
|
{{ $i18n.get('label_select_all_taxonomies_page') }}
|
||||||
</b-checkbox>
|
</b-checkbox>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
size="is-small"
|
size="is-small"
|
||||||
true-value="yes"
|
true-value="yes"
|
||||||
false-value="no"
|
false-value="no"
|
||||||
@input="emitValues()" />
|
@update:model-value="emitValues()" />
|
||||||
<help-button
|
<help-button
|
||||||
:title="$i18n.getHelperTitle('tainacan-relationship', 'accept_only_items_authored_by_current_user')"
|
:title="$i18n.getHelperTitle('tainacan-relationship', 'accept_only_items_authored_by_current_user')"
|
||||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'accept_only_items_authored_by_current_user')" />
|
:message="$i18n.getHelperMessage('tainacan-relationship', 'accept_only_items_authored_by_current_user')" />
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
:message="$i18n.getHelperMessage('tainacan-text', 'mask')" />
|
:message="$i18n.getHelperMessage('tainacan-text', 'mask')" />
|
||||||
</label>
|
</label>
|
||||||
<b-input
|
<b-input
|
||||||
:value="displaySuggestions === 'yes' ? '' : mask"
|
:model-value="displaySuggestions === 'yes' ? '' : mask"
|
||||||
:disabled="displaySuggestions === 'yes'"
|
:disabled="displaySuggestions === 'yes'"
|
||||||
name="mask"
|
name="mask"
|
||||||
@input="onUpdateMask" />
|
@update:model-value="onUpdateMask" />
|
||||||
</b-field>
|
</b-field>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue