fix(Dialog.web.js): Fixes okDisabled state not taken into account
This commit is contained in:
parent
4464a11314
commit
6536f82559
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue