mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 19:27:07 +00:00
[Forms] Tie OK button to validation
Enable/disable the confirmation button in overlay dialogs such that it is only enabled when the included form is valid. WTD-593.
This commit is contained in:
parent
1753aa6784
commit
3d95c8b744
@ -19,7 +19,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="abs bottom-bar">
|
||||
<a class='btn lg major' href='' ng-click="ngModel.confirm()">
|
||||
<a class='btn lg major'
|
||||
href=''
|
||||
ng-class="{ disabled: !createForm.$valid }"
|
||||
ng-click="ngModel.confirm()">
|
||||
OK
|
||||
</a>
|
||||
<a class='btn lg subtle' href='' ng-click="ngModel.cancel()">
|
||||
|
Loading…
Reference in New Issue
Block a user