File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -483,23 +483,23 @@ export default class Dropdown extends PureComponent {
483
483
} = this . props ;
484
484
485
485
let index = this . selectedIndex ( ) ;
486
- let label ;
486
+ let title ;
487
487
488
488
if ( ~ index ) {
489
- label = labelExtractor ( data [ index ] , index ) ;
489
+ title = labelExtractor ( data [ index ] , index ) ;
490
490
}
491
491
492
- if ( null == label ) {
493
- label = value ;
492
+ if ( null == title ) {
493
+ title = value ;
494
494
}
495
495
496
496
if ( 'function' === typeof renderBase ) {
497
- return renderBase ( { ...props , label , value, renderAccessory } ) ;
497
+ return renderBase ( { ...props , title , value, renderAccessory } ) ;
498
498
}
499
499
500
- let title = null == label || 'string' === typeof label ?
501
- label :
502
- String ( label ) ;
500
+ title = null == title || 'string' === typeof title ?
501
+ title :
502
+ String ( title ) ;
503
503
504
504
return (
505
505
< TextField
You can’t perform that action at this time.
0 commit comments