unique filter broken with multi-word parameters?
- Ngôn ngữ chính
- JavaScript
- Star
- 2.9k
- Fork
- 319
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hello, I have JSON data that includes multi-word parameters. When I try the unique filter in my ng-repeat I get the error that the second word in the parameter is an unexpected token.
Does the unique filter support multi-word keys/parameters? I've tried wrapping in single quotes, double curly braces to no avail.
(in the following, histConfig.column is a scope variable referring to a multi-word key in importedData)
ng-repeat="row in importedData | uniq:histConfig.column"
error msg:
Error: [$parse:syntax] Syntax Error: Token 'Provider' is an unexpected token at column 11 of the expression [Referring Provider] starting at [Provider].
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.