dependabot[bot] on npm_and_yarn
build(deps): bump ajv and @angu… (compare)
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
Bump nth-check and ng-packagr … (compare)
dependabot[bot] on npm_and_yarn
almothafar on master
Bump ini and @angular/cli Bump… Merge pull request #417 from ng… (compare)
dependabot[bot] on npm_and_yarn
build(deps): bump ajv, @angular… (compare)
(ngModelChange)
. I will do my best if you can reproduce issue to fix it.
my thought process is, a dropdown list is a key/value pair of objects. let say your object looks like:
ddlist: DropDownList{
key: string; // these are unique, but not a guid
value: string;
id: string; //the id will be a guid
visible: boolean; // this could be a different property, as long as it is boolean
}
Im binding to the object ddlist and set the key-property-name=key and value-property-name=value
If I search the autocomplete for the string true
then all results show up. if I search for any number, random ones show up because of the guids
another sceanrio. say your keys are number ids...1,2,3 and they are not shown to the user in the list, only the values show up. If the user searches for '1' they get the first item in the list even though the text is not what they wanted. I can make a plunkr if it helps
let t: string = 'test';
t.toString = ()=> {
return 'complete';
}
this
if you use it inside your function if you don't use =>