ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Awe.DatePicker ClearButton
Title:
B
I
{code}
?
Hi O! Issue with DatePicker. Tested in Demo 4.7 and 4.9 - different behaviour. When .ClearButton set to true, a small, darkgrayed cross is shown when date field contains data. Now click inside to popup a datepicker, the second bigger black cross appears and overlay the grey one. Even when .ClearButton set to false, the cross appears anyway if the value is set
Save Changes
Cancel
TT Tom
asked at 17 Nov 2015
Answers
B
I
{code}
?
I think you're using IE, actually this one in 4.7 wasn't working, now it works the same for lookups and datepicker, when there is value the x appears, the other x that you're seeing is from IE, add this in your site's css .awe-datepicker-field input::-ms-clear { display: none; } http://stackoverflow.com/questions/14007655/remove-ie10s-clear-field-x-button-on-certain-inputs
Save Changes
Cancel
Omu
answered at 17 Nov 2015
I'm using IE11 and would like to keep ms-clear since I'm using this feature in default text boxes. Just want to point the issue, that ClearButton appears in DP even if it has been set to false
at 17 Nov 2015
TT Tom
I've edited my answer, the .ClearButton is unrelated to the IE feature so it doesn't matter if you set it to false
at 17 Nov 2015
Omu
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK