mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix datepicker placeholder
This commit is contained in:
parent
c416d40b81
commit
bb897c17ec
@ -94,7 +94,7 @@ function createPicker(TheCalendar) {
|
||||
defaultCalendarValue.setTime(Date.now());
|
||||
|
||||
const placeholder = ('placeholder' in this.props)
|
||||
? this.placeholder : this.getLocale().lang.placeholder;
|
||||
? this.props.placeholder : this.getLocale().lang.placeholder;
|
||||
const calendar = (
|
||||
<TheCalendar
|
||||
disabledDate={this.props.disabledDate}
|
||||
|
Loading…
Reference in New Issue
Block a user