@@ -58,8 +58,7 @@ A select is normally paired with a label, but there are times when it can be use
5858 ]"
5959 label="Default"
6060 :model-value="modelValue"
61- @input="onInput"
62- @change="onChange"
61+ @update:model-value="onInput"
6362/>
6463<dt-select-menu
6564 :options="[
@@ -71,8 +70,7 @@ A select is normally paired with a label, but there are times when it can be use
7170 label="Disabled"
7271 disabled
7372 :model-value="modelValue"
74- @input="onInput"
75- @change="onChange"
73+ @update:model-value="onInput"
7674/>
7775```
7876
@@ -91,8 +89,7 @@ A select is normally paired with a label, but there are times when it can be use
9189 label="Label"
9290 description="Optional description text"
9391 :model-value="modelValue"
94- @input="onInput"
95- @change="onChange"
92+ @update:model-value="onInput"
9693/>
9794```
9895
@@ -126,8 +123,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
126123 :messages="[{ message: `Critical validation message`, type: `critical` }]"
127124 label="Label"
128125 :model-value="modelValue"
129- @input="onInput"
130- @change="onChange"
126+ @update:model-value="onInput"
131127/>
132128<dt-select-menu
133129 :options="[
@@ -139,8 +135,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
139135 :messages="[{ message: `Positive validation message`, type: `positive` }]"
140136 label="Label"
141137 :model-value="modelValue"
142- @input="onInput"
143- @change="onChange"
138+ @update:model-value="onInput"
144139/>
145140<dt-select-menu
146141 :options="[
@@ -152,8 +147,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
152147 :messages="[{ message: `Warning validation message`, type: `warning` }]"
153148 label="Label"
154149 :model-value="modelValue"
155- @input="onInput"
156- @change="onChange"
150+ @update:model-value="onInput"
157151/>
158152```
159153
@@ -188,8 +182,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
188182 :messages="[{ message: `Critical validation message`, type: `critical` }]"
189183 label="Label"
190184 :model-value="modelValue"
191- @input="onInput"
192- @change="onChange"
185+ @update:model-value="onInput"
193186 :show-messages="false"
194187/>
195188<dt-select-menu
@@ -202,8 +195,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
202195 :messages="[{ message: `Positive validation message`, type: `positive` }]"
203196 label="Label"
204197 :model-value="modelValue"
205- @input="onInput"
206- @change="onChange"
198+ @update:model-value="onInput"
207199 :show-messages="false"
208200/>
209201<dt-select-menu
@@ -216,8 +208,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
216208 :messages="[{ message: `Warning validation message`, type: `warning` }]"
217209 label="Label"
218210 :model-value="modelValue"
219- @input="onInput"
220- @change="onChange"
211+ @update:model-value="onInput"
221212 :show-messages="false"
222213/>
223214```
@@ -239,8 +230,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
239230 { value: `3`, label: `Option 3` },
240231 ]"
241232 :model-value="modelValue"
242- @input="onInput"
243- @change="onChange"
233+ @update:model-value="onInput"
244234>
245235 <template #label>
246236 <div>Slotted label</div>
@@ -265,8 +255,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
265255 { value: `3`, label: `Option 3` },
266256 ]"
267257 :model-value="modelValue"
268- @input="onInput"
269- @change="onChange"
258+ @update:model-value="onInput"
270259>
271260 <template #description>
272261 <div>Slotted description</div>
@@ -288,8 +277,7 @@ Provides feedback to the user based on their interaction, or lack thereof, with
288277<!-- @code -->
289278<dt-select-menu
290279 :model-value="modelValue"
291- @input="onInput"
292- @change="onChange"
280+ @update:model-value="onInput"
293281>
294282 <template #default>
295283 <option
@@ -326,8 +314,7 @@ We offer different sizes for instances in which the interface requires a smaller
326314 label="Label"
327315 :size="100|200|300|400|500"
328316 :model-value="modelValue"
329- @input="onInput"
330- @change="onChange"
317+ @update:model-value="onInput"
331318/>
332319```
333320
0 commit comments