NileshPatel17 / ng-multiselect-dropdown

Multiple Select Dropdown Component
https://nileshpatel17.github.io/ng-multiselect-dropdown/
326 stars 287 forks source link

Dynamic data loading #242

Open abhishek0196 opened 4 years ago

abhishek0196 commented 4 years ago

Angular version: 9.1.0

ng-multiselect-dropdown version:0.2.10

Description of issue: The dropdown only deals with static data

Steps to reproduce: Open the stackblitz link

Expected result: The dropdown should wait for the data to populate

Actual result: https://stackblitz.com/edit/angular-n38nna?embed=1&file=src/app/app.component.ts

webia1 commented 4 years ago

Fyi: The problem in your code is timing, I've tested the component, it works very well,..

See here: https://stackblitz.com/edit/angular-abbvu4

abhishek0196 commented 4 years ago

It is so unfortunate, the stackblitz is nor loading up .....

osmancansiz commented 3 years ago

Fyi: The problem in your code is timing, I've tested the component, it works very well,..

See here: https://stackblitz.com/edit/angular-abbvu4

Thanks this solution worked to me