Skip to content

Commit 9260128

Browse files
fix(documentation): DLT-3451 migrate stale @change/@input handlers to @update:model-value (#1300)
1 parent 81d0c15 commit 9260128

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/dialtone-documentation/docs/.vuepress/exampleComponents/ExampleRichTextEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
:allow-underline="$attrs.allowUnderline"
2424
:additional-extensions="$attrs.additionalExtensions"
2525
@blur="$attrs.onBlur"
26-
@input="$attrs.onInput"
26+
@update:model-value="$attrs.onInput"
2727
@focus="$attrs.onFocus"
2828
@enter="$attrs.onEnter"
2929
/>

apps/dialtone-documentation/docs/.vuepress/theme/components/Sidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
aria-label="Search"
1616
placeholder="Search"
1717
type="search"
18-
@input="focusedIndex = -1"
18+
@update:model-value="focusedIndex = -1"
1919
>
2020
<template #startIcon="{ iconSize }">
2121
<dt-icon name="search" :size="iconSize" />

apps/dialtone-documentation/docs/foundations/icons/usage/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ For detailed instructions on using the icons, check the [DtIcon component](/comp
2929
<div class="d-fl-center">
3030
<dt-icon :name="selectedIcon" :size="selectedSize" />
3131
</div>
32-
<dt-select-menu label="Name" :options="iconListOptions" @change="changeIcon" />
33-
<dt-select-menu label="Size" :options="sizeValues" @change="changeIconSize" />
32+
<dt-select-menu label="Name" :options="iconListOptions" @update:model-value="changeIcon" />
33+
<dt-select-menu label="Size" :options="sizeValues" @update:model-value="changeIconSize" />
3434
</div>
3535
</code-well-header>
3636
</div>

0 commit comments

Comments
 (0)