-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular v 1.3.6 #2
Comments
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. |
I sent a pull request #3 that supports Angular v1.3 |
Thank you for this! I will look at it when I've got some time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: