You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Hi, in documentation is stated that 'empty option' can be used when using ng-options. Here is direct quote
Optionally a single hard-coded option element, with the value set to an empty string, can be nested into the select element. This element will then represent the null or "not selected" option
I used that in 1.3 very heavily and it worked flawlessly, but in 1.4 i'm getting error
TypeError: Cannot read property 'getOptionFromViewValue' of undefined
Just to be clear, here is the template i'm using
<selectng-options="option.id as option.name for option in selectable_options"><optionvalue="">Choose an option</option></select>
Is this planed regression or a bug? If this is planed regression, is there a workaround for the thing i'm trying to accomplish?