question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

select not working with angular

See original GitHub issue

the select form component not working with angularjs.

only works in browser-default mode.

but the browser default is not that elegant with other elements on the page 😦

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
rexsateeshcommented, Dec 8, 2017

Its working for me

<div class="input-field col s12">
    <select formControlName="status" [(ngModel)]="selectedStatus" materialize="material_select">
        <option [ngValue]="" disabled>Select</option>
        <option [ngValue]="1">Enable</option>
        <option [ngValue]="0">Disable</option>
    </select>
    <label>Status</label>
</div>
1reaction
lauterrycommented, Jan 25, 2015

+1 Please reopen this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular select option with selected attribute not working
Using Angular 4, I have a html template and I want a selection box with two options. One of those options should be...
Read more >
Angular dropdown selected not working when used Ngmodel ...
i have a dropdown , bindind like below , but default selected is not working and need validation also if user selected value...
Read more >
Default select option in angular5 is not working even coded as ...
Please look into the issue. As expected below code should default select "Select City" in drop down but it does not work. Select...
Read more >
angular select does not load my selected option | Nerd For Tech
In my demonstration, I will use a simple angular project with two components. On the first page, one can select a color, and...
Read more >
SelectControlValueAccessor - Angular
Angular uses object identity to select option. It's possible for the identities of items to change while the data does not. This can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found