commit | 4a872ad325186aa2ca2a083ab9534dfacb98f7f7 | [log] [tgz] |
---|---|---|
author | arpiagariu <arpiagariu@gmail.com> | Fri Jun 10 13:13:36 2016 -0700 |
committer | arpiagariu <arpiagariu@gmail.com> | Fri Jun 10 13:13:36 2016 -0700 |
tree | cdf6a09a7feb8136c255bf80f6f39d88b90a4f58 | |
parent | 4629a6d37a7fb8faa03c824fce764f31d802d2b6 [diff] [blame] |
Working Form
diff --git a/views/ngXosLib/xosHelpers/src/ui_components/dumbComponents/field/field.component.js b/views/ngXosLib/xosHelpers/src/ui_components/dumbComponents/field/field.component.js index ac4ba4d..fa673c4 100644 --- a/views/ngXosLib/xosHelpers/src/ui_components/dumbComponents/field/field.component.js +++ b/views/ngXosLib/xosHelpers/src/ui_components/dumbComponents/field/field.component.js
@@ -194,8 +194,8 @@ if(!$attrs.ngModel){ throw new Error('[xosField] Please provide an ng-model'); } - if(this.field.type === 'select' && !this.ngModel){ - this.ngModel = this.field.options[0].id; + if(this.field.type === 'select' && !this.ngModel ){ + //this.ngModel = this.field.options[0].id; } this.getType = XosFormHelpers._getFieldFormat; this.formatLabel = LabelFormatter.format;