覆盖输入上方?

时间:2018-11-08 08:44:14

标签: reactjs typescript react-day-picker

如何使叠加层显示在输入上方? (即上面的y方向,而不是z。)

<DayPickerInput
    value={new Date( this.state!.myValue)}
    format="LL"
    onDayChange={(day) => {this.handleChange("myValue", day)}}  
    component={(props: any) => <input type="text" className="form-control datepicker" {...props} />}
    dayPickerProps={{ disabledDays: { before: new Date(this.state.earliestEndDate!) } }}
/>

0 个答案:

没有答案