We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db9935 commit f49fc5eCopy full SHA for f49fc5e
src/Select.vue
@@ -50,6 +50,7 @@ const props = withDefaults(
50
*/
51
aria?: {
52
labelledby?: string;
53
+ required?: boolean;
54
};
55
/**
56
* A function to get the label of an option. By default, it assumes the option is an
@@ -308,6 +309,7 @@ onBeforeUnmount(() => {
308
309
:aria-description="placeholder"
310
:aria-labelledby="aria?.labelledby"
311
:aria-label="selectedOptions.length ? selectedOptions.map(getOptionLabel).join(', ') : ''"
312
+ :aria-required="aria?.required"
313
>
314
<div
315
v-if="!props.isMulti && selectedOptions[0]"
0 commit comments