Hi
A customer of us has the problem that the datepicker (i.e. for filtering posts) of Enfold does not work on Mac.
We tryed it out with several browser on Windows, Ubuntu Linux and Raspbery Pi and it worked well.
Unfortunately we do not use Mac.
Can you confirm that the datepicker does ot work on Mac? And if yes, why?
Best regards
Mike
i can not confirm this. Even on a iPad Mini 3 (iOS 12.5.7) it works!
Only annoying thing is that the keyboard opens on that to input – but this is allready in the next update fix ( 5.6.7):
tweak: added inputmode=”none” to datepicker in contact forms to hide default mobile keyboard
Hi
Ok, thanks very much.
Best regards
Mike
if you need it now – you can have here a solution from ismael:
https://kriesi.at/support/topic/date-picker-form-issue-mobile/#post-1419995
Hi again
Thanks very much.
Best regards
Mike
but i tested ismaels code – and it does not even add the attribute.
On reading a lot of articles – the only thing that works is to add this attribute:
function remove_text_input_mode_on_datepicker(){
?>
<script type = "text/javascript">
window.addEventListener("DOMContentLoaded", function () {
(function($){
$('.avia_datepicker').each(function() {
$(this).attr('readonly','readonly');
});
})(jQuery);
});
</script>
<?php
}
add_action( 'wp_footer', 'remove_text_input_mode_on_datepicker', 20 );
PS:
https://kriesi.at/support/topic/date-picker-form-issue-mobile/#post-1422097
Okey.
But the whole thing will be fixed in the next Enfold version, correct?
Hi
I think you can close this issue.
Best regards
Mike