diff --git a/src/Calendar.jsx b/src/Calendar.jsx index cd4da456..ad52050d 100644 --- a/src/Calendar.jsx +++ b/src/Calendar.jsx @@ -289,7 +289,7 @@ const Calendar = createReactClass({ selectedValue={selectedValue} value={value} disabledDate={disabledDate} - okDisabled={!this.isAllowedDate(selectedValue)} + okDisabled={props.showOk && !this.isAllowedDate(selectedValue)} onOk={this.onOk} onSelect={this.onSelect} onToday={this.onToday}