File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ export class Select extends BaseInput<any> implements OnDestroy {
460
460
// we use writeValue() because we don't want to update ngModel
461
461
this . writeValue ( val . filter ( o => o . selected ) . map ( o => o . value ) ) ;
462
462
} else {
463
- this . _inputUpdated ( ) ;
463
+ this . _updateText ( ) ;
464
464
}
465
465
}
466
466
@@ -479,7 +479,7 @@ export class Select extends BaseInput<any> implements OnDestroy {
479
479
/**
480
480
* @hidden
481
481
*/
482
- _inputUpdated ( ) {
482
+ _updateText ( ) {
483
483
this . _texts . length = 0 ;
484
484
485
485
if ( this . _options ) {
@@ -496,6 +496,13 @@ export class Select extends BaseInput<any> implements OnDestroy {
496
496
}
497
497
498
498
this . _text = this . _texts . join ( ', ' ) ;
499
+ }
500
+
501
+ /**
502
+ * @hidden
503
+ */
504
+ _inputUpdated ( ) {
505
+ this . _updateText ( ) ;
499
506
super . _inputUpdated ( ) ;
500
507
}
501
508
You can’t perform that action at this time.
0 commit comments