Cleanup component communication

This commit is contained in:
gconsidine
2017-05-17 18:22:01 -04:00
parent 8b91b16bea
commit 1644f78cf3
32 changed files with 241 additions and 230 deletions

View File

@@ -1,11 +1,10 @@
<div class="col-sm-{{::col}}">
<div class="form-group at-u-flat">
<at-input-label config="config"></at-input-label>
<input type="text" class="form-control at-Input" ng-model="config.state.value"
ng-attr-autofocus="{{ form.autofocus || undefined }}"
ng-attr-maxlength="{{ config.options.max_length || undefined }}"
tabindex="{{ form.tabindex || undefined }}"
placeholder="{{::config.placeholder}}"
ng-change="vm.check()" ng-disabled="form.disabled" />
<at-input-label state="state"></at-input-label>
<input type="text" class="form-control at-Input" ng-model="state.value"
ng-attr-maxlength="{{ state.options.max_length || undefined }}"
ng-attr-tabindex="{{ tab || undefined }}"
ng-attr-placeholder="{{::state.placeholder || undefined }}"
ng-change="vm.check()" ng-disabled="state.disabled" />
</div>
</div>