File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,14 +163,14 @@ function getDisplayValue(selectedValue: string | null | undefined): string {
163163 const options = props .options .flatMap ((opt ) =>
164164 isGroup (opt ) ? opt .options : opt ,
165165 )
166- const selectedOption = options .find ((opt ) => getValue (opt ) === selectedValue )
166+ const selectedOption = options .find ((opt ) => getKey (opt ) === selectedValue )
167167 return selectedOption ? getLabel (selectedOption ) : selectedValue || ' '
168168}
169169
170170const selectedOption = computed (() => {
171171 if (! internalModelValue .value ) return null
172172 return allOptionsFlat .value .find (
173- (opt ) => getValue (opt ) === internalModelValue .value ,
173+ (opt ) => getKey (opt ) === internalModelValue .value ,
174174 )
175175})
176176
You can’t perform that action at this time.
0 commit comments