nb-select not working with dynamic data
See original GitHub issueIssue type
I’m submitting a … (check one with “x”)
- [x ] bug report
- feature request
Issue description
Nb-Select not working with dynamic data The form is loaded/created, then data is fetched from database and put in the form, the select option not changing after fetching the data Current behavior:
countryCode = null countriesList = null no option selected after the data is fetched
countryCode = PK slected option does not change to PK Expected behavior:
The option with value PK should be selected
Related code: Here is the sample code, this also not working stackblitz
Other information:
npm, node,
Node 10
Angular 7
Nebular 3
OS Browser OS - Ubuntu 18.04 Browsers - Chrome, Mozillah
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:15 (2 by maintainers)
Top Results From Across the Web
How to set a preselected option with Nebular, nb-select
There exists an issue with dynamic data, but with static data, it works as described in the documentation you mentioned: HTML: <nb-select ......
Read more >Select Angular UI Component - Nebular - GitHub Pages
The NbSelectComponent provides a capability to select one of the passed items. ... In this case, nb-select will work only with arrays -...
Read more >Cypress Select from Dynamic Drop Down - ProgramsBuzz
Static dropdown have <select> tag while dynamic dropdown can have <nb-select>, <ng-select> or any other tag. Static dropdown with select tag ...
Read more >E Select Default Value - StackBlitz
<nb-layout-column>. <nb-select [(selected)]. ="selectedOption">. <nb-option *ngFor="let o of. options" [value]="o">. {{ o.name }}. </nb-option>. </nb-select>.
Read more >[Gaming NB/DT] Armoury Crate Introduction (Ver5.0) - ASUS
GPU Mode①: Thru the GPU mode switching, gamers can select in the ... to collect problem log and user can click "Generate log...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why is this closed? nb select still doesnt work with dynamic data
Hi @bluriverIt
npm i lodash npm i --save-dev @types/lodash
import * as _ from ‘lodash’;