You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Estou criando um Multiselect usando um request mas ficou muito sobrecarregado por se tratar de muitas linhas, então queria sugerir essa melhoria se possível de ter essa função direto no metadata ou no componente com o recurso de paginação, assim não deixa lento o recurso.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Estou criando um Multiselect usando um request mas ficou muito sobrecarregado por se tratar de muitas linhas, então queria sugerir essa melhoria se possível de ter essa função direto no metadata ou no componente com o recurso de paginação, assim não deixa lento o recurso.
Html - Multiselect
<po-multiselect class="po-md-12" [name]="name_multselect" [(ngModel)]="model.multselect" [p-label]="name_View" [p-options]="items_multselect" p-optional [p-disabled]="!Hasmultselect"> </po-multiselect>
request dos items- Multiselect
items_multselect: Array<PoCheckboxGroupOption> = [{value: '00', label: 'test'}] private getitems(optionsService: string): Observable<any> { return this.http.get(optionsService).pipe( map((res: Array<PoCheckboxGroupOption>) => { this.items_multselect = res; }) ); }
Beta Was this translation helpful? Give feedback.
All reactions