File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/elements/src/list/elements Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ export class List<T extends DataItem = ItemData> extends ControlElement {
476476 this . highlightItem ( item ) ;
477477
478478 if ( this . selectItem ( item ) ) {
479- this . fireSelectionUpdate ( ) ;
479+ this . fireSelectionUpdate ( this . composer . getItemPropertyValue ( item , 'value' ) ) ;
480480 }
481481 }
482482 }
@@ -593,11 +593,11 @@ export class List<T extends DataItem = ItemData> extends ControlElement {
593593 * Fire value changed event
594594 * @returns {void }
595595 */
596- private fireSelectionUpdate ( ) : void {
596+ private fireSelectionUpdate ( value ?: unknown ) : void {
597597 /**
598598 * @event List#value-changed
599599 */
600- this . notifyPropertyChange ( 'value' , this . value ) ;
600+ this . notifyPropertyChange ( 'value' , value ?? this . value ) ;
601601 }
602602
603603 /**
You can’t perform that action at this time.
0 commit comments