-
Notifications
You must be signed in to change notification settings - Fork 647
Error when there is a dash in field name #168
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
Comments
Hey @mohsen1, there is a bug in Angular 1.2 that makes this impossible, but this works perfectly if you're on Angular 1.3 |
Thanks @mike-marcacci Upgrading to 1.3 fixed this. I needed a good incentive to take the time and upgrade. This did it! |
Awesome, glad it worked! |
This upgrade was made with using a fork of angular-ui-layout at https://github.com/mohsen1/ui-layout TODO: remove dependecy to mohsen1.ui-layout when ui-layout is ready End-to-end tests are failing after this upgrade due to an error in minified vendor.js Main reason to upgrade was this bug: json-schema-form/angular-schema-form#168
Not working in form binding. I am using <select ... ng-model="staff.member-Type">. But still facing same issue. what could be the possible solution. As JSON format cant be changed. |
@ajit-drag you need to make a plunker or gist or provide exampes if you want people to understand your issue. |
Same issue face @ajit-drag |
If my model has property with dash in it, I will get the following errors.
From what I see, it's trying to access
model.X-Test
which is invalid JS. From my little research it could be related to$$value
expression hereThe text was updated successfully, but these errors were encountered: