File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
projects/components/src/table/controls Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ import {
6767 class="control select"
6868 showBorder="true"
6969 searchMode="${ MultiSelectSearchMode . CaseInsensitive } "
70- (selectedChange)="this.onMultiSelectChange (selectControl, $event)"
70+ (selectedChange)="this.onSelectChange (selectControl, $event)"
7171 >
7272 <ht-select-option
7373 *ngFor="let option of selectControl.options"
@@ -241,6 +241,13 @@ export class TableControlsComponent implements OnChanges {
241241 } ) ;
242242 }
243243
244+ public onSelectChange ( select : TableSelectControl , selection : TableSelectControlOption ) : void {
245+ this . selectChange . emit ( {
246+ select : select ,
247+ values : [ selection ]
248+ } ) ;
249+ }
250+
244251 public onCheckboxChange ( checked : string [ ] ) : void {
245252 const diff = this . checkboxDiffer ?. diff ( checked ) ;
246253 if ( ! diff ) {
You can’t perform that action at this time.
0 commit comments