fix(Dialog.web.js): Fixes okDisabled state not taken into account

This commit is contained in:
yanas 2017-05-22 16:17:29 -05:00
parent 4464a11314
commit 6536f82559
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ class Dialog extends AbstractDialog {
appearance = 'primary' appearance = 'primary'
form = 'modal-dialog-form' form = 'modal-dialog-form'
id = 'modal-dialog-ok-button' id = 'modal-dialog-ok-button'
isDisabled = { this.props.okDisabled }
onClick = { this._onSubmit }> onClick = { this._onSubmit }>
{ this.props.t(this.props.okTitleKey || 'dialog.Ok') } { this.props.t(this.props.okTitleKey || 'dialog.Ok') }
</AKButton> </AKButton>