mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
fix #94
This commit is contained in:
parent
babcb6ac8c
commit
ad2e78ce80
@ -69,12 +69,14 @@ export default React.createClass({
|
|||||||
disabled={this.props.disabled}
|
disabled={this.props.disabled}
|
||||||
trigger={<span className="ant-calendar-picker-icon" />}
|
trigger={<span className="ant-calendar-picker-icon" />}
|
||||||
calendar={calendar}
|
calendar={calendar}
|
||||||
adjustOrientOnCalendarOverflow={false}
|
adjustOrientOnCalendarOverflow={true}
|
||||||
formatter={new DateTimeFormat(this.props.format)}
|
formatter={new DateTimeFormat(this.props.format)}
|
||||||
value={this.state.value}
|
value={this.state.value}
|
||||||
prefixCls="ant-calendar-picker"
|
prefixCls="ant-calendar-picker"
|
||||||
onChange={this.handleChange}>
|
onChange={this.handleChange}>
|
||||||
<input placeholder={this.props.placeholder} className={'ant-calendar-picker-input ant-input ant-input-' + this.props.size}/>
|
<input
|
||||||
|
placeholder={this.props.placeholder}
|
||||||
|
className={'ant-calendar-picker-input ant-input ant-input-' + this.props.size}/>
|
||||||
</Datepicker>
|
</Datepicker>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user