fix spinner and radio read only fields

This commit is contained in:
John Mitchell
2017-01-31 15:35:58 -05:00
parent a544e322fd
commit b6f645a72b
4 changed files with 4 additions and 1 deletions
@@ -1279,6 +1279,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
html += "value=\"" + field.options[i].value + "\" ";
html += "ng-model=\"" + fld + "\" ";
html += (field.ngChange) ? this.attr(field, 'ngChange') : "";
html += (field.ngDisabled) ? `ng-disabled="${field.ngDisabled}"` : "";
html += (field.readonly) ? "disabled " : "";
html += (field.required) ? "required " : "";
html += (field.ngshow) ? "ng-show=\"" + field.ngShow + "\" " : "";