简体   繁体   中英

Combodate date-picker border issue for date of birth field

I am using the combodate dropdown date picker for my application.The issue when i open it in the firefox browser the border is not coming .

Below images gives clear idea like what is happening.

在此处输入图片说明

Here the for the month field dropdown the border is not coming.

but coming date and year it is working fine. 在此处输入图片说明

I am not getting where it is going wrong.please help me out with this issue.

Many Thanks in advance....

This is due to a bug in firefox Reference

Ideally you could give width 99.99% instead of 100% in your css to your particular select drop down.

I worked around on this like in combodate.js we have a js line

this.$widget.find('select').css('width', 'auto').addClass('form-control');

and i Made it to

this.$widget.find('select').css('width', '92px').addClass('form-control');

This helped me out and working fine in all browsers and ipad/iphones.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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