diff --git a/components/datepicker/index.jsx b/components/datepicker/index.jsx index 8c9a6dcd5d..071d6f811b 100644 --- a/components/datepicker/index.jsx +++ b/components/datepicker/index.jsx @@ -76,10 +76,7 @@ function createPicker(Calendar){ disabled={this.props.disabled} trigger={} calendar={calendar} - adjustOrientOnCalendarOverflow={{ - x: true, - y: false - }} + adjustOrientOnCalendarOverflow={{x: true, y: false}} formatter={new DateTimeFormat(this.props.format)} value={this.state.value} defaultValue={this.props.defaultValue}