-
AuthorPosts
-
October 10, 2023 at 9:44 am #1421982
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
MikeOctober 10, 2023 at 9:52 am #1421984i 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
October 10, 2023 at 9:55 am #1421985Hi
Ok, thanks very much.
Best regards
MikeOctober 10, 2023 at 10:17 am #1421987if you need it now – you can have here a solution from ismael:
https://kriesi.at/support/topic/date-picker-form-issue-mobile/#post-1419995October 10, 2023 at 10:19 am #1421988Hi again
Thanks very much.
Best regards
MikeOctober 10, 2023 at 11:47 am #1422001but 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-1422097October 10, 2023 at 11:51 am #1422004Okey.
But the whole thing will be fixed in the next Enfold version, correct?October 10, 2023 at 11:56 am #1422005October 10, 2023 at 12:04 pm #1422006October 24, 2023 at 1:21 pm #1423572Hi
I think you can close this issue.
Best regards
Mike -
AuthorPosts
- The topic ‘Datepicker with Mac’ is closed to new replies.
