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 documentation and example directly contradict each other #13134
Closed
Description
From the docs:
Do not use
select
as
andtrack by
in the same expression. They are not designed to work together.
Then immediately following that, there is an example where they are used together in the same expression:
item.subItem as item.label for item in values track by item.id
Either the code example directly contradicts the previous statement, or I'm misinterpreting this and the documentation is very confusing. I ran this by a couple of other devs to validate that others are interpreting it the same way I am.
Metadata
Metadata
Assignees
Labels
No labels