fix datepicker placeholder

This commit is contained in:
afc163 2015-11-20 21:07:29 +08:00
parent c416d40b81
commit bb897c17ec

View File

@ -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}