React Datepicker 定位问题
日期选择器出现在输入字段上方并隐藏在上面的 div 下方,如何将其更改为向下显示而不是向上显示?
<DatePicker
selected={ this.state.valueDate }
onChange={(val) => this.handleChange(val)}
name="startDate"
dateFormat="dd.MM.yyyy"
className="form-control"
autoComplete="off"
portalId="root-portal"
/>
The date picker appears above the input field and is hidden under the above div, how can I change it to appear down not up?
<DatePicker
selected={ this.state.valueDate }
onChange={(val) => this.handleChange(val)}
name="startDate"
dateFormat="dd.MM.yyyy"
className="form-control"
autoComplete="off"
portalId="root-portal"
/>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论