Skip to content
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.

Cyrillic loop variable name in ngRepeat not supported by ngParseExt module #15926

Closed
@epliskin

Description

@epliskin

I'm submitting a ...

  • bug report
  • feature request
  • other (Please do not submit support requests here (see above))

Current behavior:

Using ngParseExt module (https://docs.angularjs.org/api/ngParseExt) for Unicode support in HTML,
it is still impossible to introduce a loop variable with cyrillic name into "ngRepeat" directive,
while cyrillic expressions are OK.
Expected / new behavior:

Expecting cyrillic loop variable names to be valid under ngParseExt.

Minimal reproduction of the problem with instructions:

Working HTML: div ng-repeat="f in поля"

Not working HTML: div ng-repeat="п in поля"

Angular version: 1.6.1

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome, Edge

Anything else:

Error: [ngRepeat:iidexp] 'item' in 'item in collection' should be an identifier or '(key, value)' expression, but got 'п'.
http://errors.angularjs.org/1.6.1/ngRepeat/iidexp?p0=%D0%BF
at ngRepeatCompile (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:30701:9)
at applyDirectivesToNode (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:9444:13)
at compileNodes (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:8803:9)
at compileNodes (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:8812:9)
at compile (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:8684:7)
at lazyCompilation (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:9131:11)
at boundTranscludeFn (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:8924:9)
at controllersBoundTransclude (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:9691:13)
at ngIfWatchAction (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:27259:15)
at Scope.prototype.$digest (http://eugene:8080/rnst/2017-04-19/js/lib/angular-1.6.1/angular.js:17814:23) ngRepeat: п in поля
angular.js (14328,11)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions