Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Error when using ui-select-choices repeat without a filter #1462

Closed
bogdanalexe90 opened this issue Feb 25, 2016 · 1 comment
Closed

Error when using ui-select-choices repeat without a filter #1462

bogdanalexe90 opened this issue Feb 25, 2016 · 1 comment

Comments

@bogdanalexe90
Copy link

Hi,
I receive an $parse error when using <ui-select-choices repeat="item in itemList track by item.id">
I managed to track down the problem and it seems to be the regex from uisRepeatParser.

The problem seems to be:

  • source: $parse(!match[3] ? match[5] : match[6]),
  • match[3] is undefined
  • match[5] is itemList track by item.id
  • $parse throws the following error Token 'track' is an unexpected token at column 17 of the expression [itemList track by item.id] starting at [track by item.id].
@user378230
Copy link
Contributor

Fixed by #1477

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants