-
Notifications
You must be signed in to change notification settings - Fork 642
Closed
Milestone
Description
In https://github.com/json-schema-form/angular-schema-form/blob/development/src/services/decorators.js#L193-L201 the ngModel won't get correct path if the directive will be called in ngRepeat, cause some key(s) well be an empty string.
Example we have ['lvl1','array','', 'value']
After resolving we'll get 'model['lvl1']['array']['']['value']
' and this isn't right.
At this point if the key array contains an empty string, we should use a scope.$index
for this key!
jdpnielsen, senyaak, zfarrell and timelf123