问题描述
========================================
我试图在日历打开时更改输入类型日期的背景颜色,但无法弄清楚。这是代码
dateInputRoot: {
'&:hover': {
backgroundColor: '#EBEBEB',},'&:active': {
backgroundColor: '#fff',borderColor: '#2EFF22',borderWidth: 1,dateInput: {
border: 0,<TextField
margin="dense"
type="date"
variant="outlined"
value={closeDate}
placeholder=""
fullWidth
style={{ paddingLeft: 0 }}
onChange={(e) => {
setCloseDate(e.target.value);
}}
className={classes.dateInputRoot}
InputProps={{
classes: { notchedOutline: classes.dateInput },}}
/>
问题在于活动选择器,它仅在我按下鼠标按钮之前更改背景,也没有应用边框宽度。我想在日历打开时为白色和一些边框提供背景。 任何帮助请
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)