|
123 | 123 | <li>{{ $i18n('confirmation-dialog-message-tip-2') }}</li> |
124 | 124 | <li>{{ $i18n('confirmation-dialog-message-tip-3') }}</li> |
125 | 125 | </ul> |
126 | | - <checkbox class="disable-confirmation" |
127 | | - :label="$i18n('confirmation-dialog-option-label')" |
128 | | - :checked.sync="disableConfirmation" |
129 | | - /> |
| 126 | + <cdx-checkbox class="disable-confirmation" |
| 127 | + v-model="disableConfirmation" |
| 128 | + > |
| 129 | + {{ $i18n('confirmation-dialog-option-label') }} |
| 130 | + </cdx-checkbox> |
130 | 131 | </cdx-dialog> |
131 | 132 | </div> |
132 | 133 | </template> |
|
136 | 137 | import { useStore } from '../store'; |
137 | 138 | import isEmpty from 'lodash/isEmpty'; |
138 | 139 | import { Head as InertiaHead } from '@inertiajs/inertia-vue3'; |
139 | | - import { |
140 | | - Link as WikitLink, |
141 | | - Checkbox } from '@wmde/wikit-vue-components'; |
| 140 | + import { Link as WikitLink } from '@wmde/wikit-vue-components'; |
142 | 141 |
|
143 | | - import { CdxButton, CdxIcon, CdxDialog, CdxMessage } from "@wikimedia/codex"; |
| 142 | + import { CdxButton, CdxIcon, CdxDialog, CdxMessage, CdxCheckbox } from "@wikimedia/codex"; |
144 | 143 | import { cdxIconInfo, cdxIconArrowPrevious } from '@wikimedia/codex-icons'; |
145 | 144 |
|
146 | 145 | import LoadingOverlay from '../Components/LoadingOverlay.vue'; |
|
150 | 149 | import { defineComponent } from 'vue'; |
151 | 150 | import axios from 'axios'; |
152 | 151 |
|
| 152 | + // Run it with compat mode |
| 153 | + // https://v3-migration.vuejs.org/breaking-changes/v-model.html |
| 154 | + CdxCheckbox.compatConfig = { |
| 155 | + ...CdxCheckbox.compatConfig, |
| 156 | + COMPONENT_V_MODEL: false, |
| 157 | + }; |
153 | 158 | interface MismatchDecision { |
154 | 159 | id: number, |
155 | 160 | item_id: string, |
|
191 | 196 | LoadingOverlay, |
192 | 197 | MismatchesTable, |
193 | 198 | WikitLink, |
194 | | - Checkbox, |
| 199 | + CdxCheckbox, |
195 | 200 | CdxDialog, |
196 | 201 | CdxButton, |
197 | 202 | CdxIcon, |
|
0 commit comments