Skip to content

Commit

Permalink
Merge pull request #377 from Numerique1/fix-radiolist
Browse files Browse the repository at this point in the history
Fix radiolist
  • Loading branch information
eugef committed Oct 9, 2015
2 parents 5f0f1e9 + e65b8d2 commit f23c313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/xeditable.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ angular.module('xeditable').directive('editableRadiolist', [
this.parent.render.call(this);
var parsed = editableNgOptionsParser(this.attrs.eNgOptions);
var html = '<label ng-repeat="'+parsed.ngRepeat+'">'+
'<input type="radio" ng-disabled="' + this.attrs.eNgDisabled + '" ng-model="$parent.$data" value="{{'+parsed.locals.valueFn+'}}">'+
'<input type="radio" ng-disabled="' + this.attrs.eNgDisabled + '" ng-model="$parent.$data" ng-value="'+parsed.locals.valueFn+'">'+
'<span ng-bind="'+parsed.locals.displayFn+'"></span></label>';

this.inputEl.removeAttr('ng-model');
Expand Down

0 comments on commit f23c313

Please sign in to comment.