We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7b8a32 commit eee9c16Copy full SHA for eee9c16
js/directives/form.ts
@@ -60,7 +60,7 @@ module fng.directives {
60
var enumInstruction:IEnumInstruction;
61
if (angular.isArray(scope[fieldInfo.options])) {
62
enumInstruction = {repeat: fieldInfo.options, value: 'option'};
63
- } else if (angular.isArray(scope[fieldInfo.options].values)) {
+ } else if (scope[fieldInfo.options] && angular.isArray(scope[fieldInfo.options].values)) {
64
if (angular.isArray(scope[fieldInfo.options].labels)) {
65
enumInstruction = {
66
repeat: fieldInfo.options + '.values',
0 commit comments