File tree 1 file changed +2
-2
lines changed
packages/vuetify/src/components/VSelect 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export default baseMixins.extend<options>().extend({
157
157
computedCounterValue ( ) : number {
158
158
const value = this . multiple
159
159
? this . selectedItems
160
- : ( this . getText ( this . selectedItems [ 0 ] ) || '' ) . toString ( )
160
+ : ( this . getText ( this . selectedItems [ 0 ] ) ?? '' ) . toString ( )
161
161
162
162
if ( typeof this . counterValue === 'function' ) {
163
163
return this . counterValue ( value )
@@ -650,7 +650,7 @@ export default baseMixins.extend<options>().extend({
650
650
this . keyboardLookupLastTime = now
651
651
652
652
const index = this . allItems . findIndex ( item => {
653
- const text = ( this . getText ( item ) || '' ) . toString ( )
653
+ const text = ( this . getText ( item ) ?? '' ) . toString ( )
654
654
655
655
return text . toLowerCase ( ) . startsWith ( this . keyboardLookupPrefix )
656
656
} )
You can’t perform that action at this time.
0 commit comments