You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same here. The components have ng-pattern="/{{ field.schema.validation.pattern }}/", and when the pattern is not present it resolves to ng-pattern="//" which AngularJS then complains about.
It´s not working with angular 1.3.6.
I got this error with chrome inspector :
Error: [$parse:syntax] Syntax Error: Token '/' not a primary expression at column 1 of the expression [//] starting at [//].
http://errors.angularjs.org/1.3.6/$parse/syntax?p0=%2F&p1=not%20a%20primary%20expression&p2=1&p3=%2F%2F&p4=%2F%2F
at http://localhost:3000/bower_components/angular/angular.js:63:12
at Parser.throwError (http://localhost:3000/bower_components/angular/angular.js:11964:11)
at Parser.primary (http://localhost:3000/bower_components/angular/angular.js:11942:12)
at Parser.unary (http://localhost:3000/bower_components/angular/angular.js:12224:19)
at Parser.multiplicative (http://localhost:3000/bower_components/angular/angular.js:12207:21)
at Parser.additive (http://localhost:3000/bower_components/angular/angular.js:12198:21)
at Parser.relational (http://localhost:3000/bower_components/angular/angular.js:12189:21)
at Parser.equality (http://localhost:3000/bower_components/angular/angular.js:12180:21)
at Parser.logicalAND (http://localhost:3000/bower_components/angular/angular.js:12171:21)
at Parser.logicalOR (http://localhost:3000/bower_components/angular/angular.js:12162:21) <textarea class="form-control ng-pristine ng-untouched ng-valid ng-scope" fg-field-input="" fg-placeholder="field.schema.placeholder" ng-model="form.data[field.schema.name]" id="{{ field.$_id }}" title="{{ field.schema.tooltip }}" tabindex="{{ tabIndex }}" ng-required="field.schema.validation.required" ng-minlength="{{ field.schema.validation.minlength }}" ng-maxlength="{{ field.schema.validation.maxlength }}" ng-pattern="/{{ field.schema.validation.pattern }}/">
The text was updated successfully, but these errors were encountered: