coreui / coreui-angular

CoreUI Components Library for Angular https://coreui.io/angular/docs/
https://coreui.io/angular/
MIT License
248 stars 146 forks source link

Multi Select with fewer data #186

Closed 32x0lf closed 10 months ago

32x0lf commented 1 year ago

Hi,

I am using multiselect with a single select but this time without using virtual scroller since it has only few data to display. The reason I used multiselect because we want user to search for "xx" in field. My problems are

  1. Even if it has fewer data, It still load slower or shows data more than a minute.
  2. I used a shared modal, so when the modal pops up and I closed the modal immediately without waiting for those data to populate, I got this error

image

  1. I don't want to use virtual scroller for this.

This is my code in html

 <c-multi-select selectionType="text" formControlName="deal" >
   <c-multi-select-option *ngFor="let item of deal" [value]="item.ddvalue" >{{item.ddtext}}</c-multi-select-option>
this.filterService.getFilter(this.FilterParam).subscribe({
 next: (res:any) => {
   if(res!=null){
     this.deal = res.deallist;
   } 
 }
})

I am using Angular 14 and my version is

Please advise TIA.

xidedix commented 1 year ago

@32x0lf

ad 1. We need more details to investigate your issue. Please do contact us at https://coreui.io/support/

ad 2.

An error thrown when an action is invalid because the object has been unsubscribed.

32x0lf commented 1 year ago

@xidedix ,

Unfortunately, my boss forgot where he saved the product key, that is why I cannot file to support.

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

xidedix commented 10 months ago
fixed in: CoreUI Angular
~4.5.29 Angular 16
~4.7.3 Angular 17