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.

ngOptions does not populate options through selectCtrl (hasOption doesn't work with ngOptions) #12915

Open
@user291831

Description

@user291831

Regression(?) of #8761

Support for selectCtrl.hasOption in ngOptions was added in 1.3.x (09eeb48) but was lost as part of the ngOptions/select rewrite in 1.4.0(?) (408f89d)

JSBins - see console whilst changing select values.

1.3.1: http://jsbin.com/sifegicura/1/edit?html,js,output
1.4.5: http://jsbin.com/zufuzuweda/1/edit?html,js,output

I'm trying to write a directive which I can apply across a variety select fields and requires access to the options values that are available to the user using hasOption for check would make this much easier.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions