Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdSelect: not displaying the initial value of ngModel when it's an object #3012

@VictorRicha

Description

@VictorRicha

Hi,

I'm having a problem with mdSelect + ngRepeat with objects in the value.
When i initialize the ngModel value while loading the page (like i would if i was, for example, editing some object i get from the server).
The mdSelect doesn't match my object and have it selected as it does when i use something as simple as an array of strings.

example:
http://codepen.io/VictorRicha/pen/BNQezv

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