ngFor with possibility of assign key value like ES6 feature #19333
Labels
area: common
Issues related to APIs in the @angular/common package
area: core
Issues related to the framework runtime
feature
Issue that requests a new feature
I'm submitting a...
Current behavior
<tag *ngFor="let keyValue of getAMap() | myPipeToGetKeysAndValue" >
Right now getting key and value of a map, you need to create a pipe instead of having one builtin,
Expected behavior
<tag *ngFor="let [key, value] of getAMap() | builtInAngularPipeKeysValue" >
this is a feature of ES6
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: