• Resolved cnmcomunicazione

    (@cnmcomunicazione)


    The picker is not working any more on Divi (V. 4.9.10, not upgraded to 4.10 yet)

    Safari doesn’t load the picker and the field “Data e orario” is a simple text field.

    On Google Chrome the picker appears as a strange dropdown list with random dates from the past. The Chrome Console reports this:

    _________________

    Uncaught Error: Syntax error, unrecognized expression: input[data-original_id=input[data-original_id=\’pa-date-time-picker\’]]
    at Function.se.error (jquery.min.js?ver=3.6.0:2)
    at se.tokenize (jquery.min.js?ver=3.6.0:2)
    at se.select (jquery.min.js?ver=3.6.0:2)
    at Function.se (jquery.min.js?ver=3.6.0:2)
    at Function.s.find (jquery-migrate.min.js?ver=3.3.2:2)
    at S.fn.init.find (jquery.min.js?ver=3.6.0:2)
    at s.fn.init.S.fn.init (jquery.min.js?ver=3.6.0:2)
    at new s.fn.init (jquery-migrate.min.js?ver=3.3.2:2)
    at S (jquery.min.js?ver=3.6.0:2)
    at dtp_init (dtpicker.js?ver=5.8:14)

    _________________

    Thank you all ??

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter cnmcomunicazione

    (@cnmcomunicazione)

    Ok, solved. The old “input[data-original_id=\’pa-date-time-picker\’]” text into integration tab must be converted to “pa-date-time-picker” ??

    I’ve got the same issue. Where did you put the “pa-date-time-picker”? Into the

    “Divi Theme Options > Integration” tab? Where exactly? Just “pa-date-time-picker”?

    Thanks in advance! ??

    Thread Starter cnmcomunicazione

    (@cnmcomunicazione)

    Yes brunsphoto, You have to insert just “pa-date-time-picker” as css selector on the integration panel instead of the entire string “input…”

    Thank you! It works now

    Hi people,

    I’ve found the solution to this problem and solved it from code. Its so simple to solve and I’ve created an easy guide for you.

    HERE YOU HAVE THE GUIDE: https://github.com/Aitor1111/fix-divi-datetimepicker

    You can also check it’s working on my site: https://coble.app/?project=24972

    Hello, I have the same problem, but don’t know where exactly to put “pa-date-time-picker”…
    in DIVI Theme Options, Integration tab, is all empty…

    Could you please help me?

    thanks

    I’ve changed the CSS in the Settings/Integration section from

    input[data-original_id=’date-arrival’],input[data-original_id=’date-departure’]

    to

    date-arrival, date-departure

    And it works for date-arrival (a Divi form, with that field name), but not the second field (date-departure). If I put date-departure first, the departure works but not the arrival.

    Quite confusing – I’ve tried space, comma, comma without space. Can’t get the second field to work.

    Any ideas, please?

    Hi @gotmian gotmian for contact form 7 what command did you use to start the datepicker because I with:

    [text bookdate class:date-my-selector1 placeholder "Date Picker"].

    doesn’t work.`

    • This reply was modified 3 years, 5 months ago by andrycarone.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘It doesn’t work any more on Divi’ is closed to new replies.