Skip to content

Multi Select with fewer data #186

@32x0lf

Description

@32x0lf

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
3. 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

  • angular-pro ^4.2.39
  • coreui-pro ^4.4.1

Please advise TIA.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions