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

Angular Select select as label for value in array syntax broken for nullable #7605

Closed

Description

@basarat

select as label for value in array shows an empty box if we drive the nullable from the model

For example for model

$scope.colors = [
      {name:'nothing', shade:null},
      {name:'red', shade:'dark'}
    ];

compare good version (color.name for color in colors)

image

with bad version (color.shade as color.name for color in colors)

image

Sample : http://plnkr.co/edit/MLgOTj9tjd9HF56Jm5RU?p=preview

Activity

  1. added this to the milestone on Jun 23, 2014
  2. petebacondarwin commented on Jan 10, 2015

    @petebacondarwin
    Contributor
  3. added 5 commits that reference this issue on Jan 10, 2015
    ede182e
    c77b006
    621797b
    6b416e2
    94ae280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions