@@ -46,7 +46,6 @@ function(decoratorsProvider, sfBuilderProvider, sfPathProvider) {
46
46
args . form . schema . items . type &&
47
47
args . form . schema . items . type . indexOf ( 'object' ) === - 1 &&
48
48
args . form . schema . items . type . indexOf ( 'array' ) === - 1 ) {
49
- console . log ( 'setting state modelValue' , args . form ) ;
50
49
var strKey = sfPathProvider . stringify ( args . form . key ) . replace ( / " / g, '"' ) + '[$index]' ;
51
50
state . modelValue = 'modelArray[$index]' ; //(args.state.modelName || 'model') + (strKey[0] !== '[' ? '.' : '') + strKey;
52
51
//state.modelValue = 'model' + sfPathProvider.normalize(args.form.key) + '[$index]'; // 'modelArray[$index]';
@@ -83,13 +82,13 @@ function(decoratorsProvider, sfBuilderProvider, sfPathProvider) {
83
82
fieldset : { template : base + 'fieldset.html' , builder : [ sfField , simpleTransclusion , condition ] } ,
84
83
array : { template : base + 'array.html' , builder : [ sfField , ngModelOptions , ngModel , array , condition ] } ,
85
84
tabarray : { template : base + 'tabarray.html' , builder : [ sfField , ngModelOptions , ngModel , array , condition ] } ,
86
- tabs : { template : base + 'tabs.html' , builder : [ sfField , ngModelOptions , ngModel , tabs , condition ] } ,
85
+ tabs : { template : base + 'tabs.html' , builder : [ sfField , ngModelOptions , tabs , condition ] } ,
87
86
section : { template : base + 'section.html' , builder : [ sfField , simpleTransclusion , condition ] } ,
88
87
conditional : { template : base + 'section.html' , builder : [ sfField , simpleTransclusion , condition ] } ,
89
88
actions : { template : base + 'actions.html' , builder : defaults } ,
90
89
select : { template : base + 'select.html' , builder : defaults } ,
91
90
checkbox : { template : base + 'checkbox.html' , builder : defaults } ,
92
- checkboxes : { template : base + 'checkboxes.html' , builder : [ sfField , ngModelOptions , ngModel , array , condition ] } ,
91
+ checkboxes : { template : base + 'checkboxes.html' , builder : [ sfField , ngModelOptions , ngModel , array ] } ,
93
92
number : { template : base + 'default.html' , builder : defaults } ,
94
93
password : { template : base + 'default.html' , builder : defaults } ,
95
94
submit : { template : base + 'submit.html' , builder : defaults } ,
0 commit comments