Support

Account

Home Forums Front-end Issues Issue with Timepicker on Pro

Helping

Issue with Timepicker on Pro

  • Hello,

    I’m experiencing an issue with the Timepicker.

    acf-input.min.js?ver=5.8.1:3 Uncaught TypeError: Cannot read property 'selectText' of null
    at n.initialize (acf-input.min.js?ver=5.8.1:3)
    at n.e (acf-input.min.js?ver=5.8.1:1)
    at n.acf.Model (acf-input.min.js?ver=5.8.1:1)
    at n [as constructor] (acf-input.min.js?ver=5.8.1:1)
    at n [as constructor] (acf-input.min.js?ver=5.8.1:1)
    at new n (acf-input.min.js?ver=5.8.1:1)
    at Object.acf.newField (acf-input.min.js?ver=5.8.1:1)
    at Object.acf.getField (acf-input.min.js?ver=5.8.1:1)
    at HTMLDivElement.<anonymous> (acf-input.min.js?ver=5.8.1:1)
    at Function.each (jquery.js?ver=1.12.4-wp:2)

    It doesn’t seem to like the following line:
    closeText: acf.get('dateTimePickerL10n').selectText,

    The timepicker just doesn’t work at all. If I remove .selecttext as a test, it works, but the ‘done’ button is replaced with ‘null’.

    ACF Pro version I’m on is 5.8.1.

    Anyone got any ideas? Does it just look like a conflict with my theme code?

    Many thanks.

  • Hello,

    I am also experiencing this same error.

    After also removing .selectText, the time picker finally works but the button is replaced with ‘null’ as jonint mentions above.

    Using ACF Pro Version 5.8.6.

    Any ideas is greatly appreciated! Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.