简体   繁体   English

jquery ui datepicker未在下拉列表中显示Month和Year

[英]jquery ui datepicker is not showing Month and Year in dropdown list

( https://jqueryui.com/datepicker/ - version 1.11.4) https://jqueryui.com/datepicker/ - 版本1.11.4)

It is still working fine and let user pick up the date but only problem is that the "Month" and "Year" are not showing up until you hover the mouse on it: 它仍然工作正常,让用户拿起日期,但唯一的问题是“月”和“年”没有显示,直到你将鼠标悬停在它上面:

在此输入图像描述

What can possibly cause problem here? 什么可能在这里引起问题? I checked the browser's developer tool and there is not error or warning 我检查了浏览器的开发人员工具,没有错误或警告

try to give the following selector black color instead of white cause this means that the month & year has a white color 尝试给出以下选择器黑色而不是白色,因为这意味着月份和年份具有白色

.ui-datepicker .ui-datepicker-title select {
    color: #000;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM