Add sensible revert logic to prompt and secret inputs

This commit is contained in:
gconsidine
2017-06-09 22:07:34 -04:00
parent 6e181e81ea
commit 1be9c3ba94
5 changed files with 23 additions and 38 deletions
@@ -16,12 +16,12 @@
type="file"
name="files" />
<textarea class="form-control at-Input at-Textarea"
ng-model="state._displayValue"
ng-model="state[state._activeModel]"
ng-class="{ 'at-Input--rejected': state._rejected }"
ng-attr-maxlength="{{ state.max_length || undefined }}"
ng-attr-tabindex="{{ tab || undefined }}"
ng-attr-placeholder="{{::state._placeholder || undefined }}"
ng-change="vm.updateValue()"
ng-change="vm.check()"
ng-disabled="state._disabled || form.disabled" />
</textarea>
</div>