Custom Fields
Re-Envisioned
Support Meta Box Group Problems with date picker in group

This topic contains 4 replies, has 2 voices, and was last updated by  up2 3 years, 7 months ago.

  • Creator
    Topic
  • #1563

    up2
    Participant

    Hi,

    When I create a clonable group with one (or more) date pickers in it on the first set I always get the following js error when I try to use the date picker:

    Error: uncaught exception: Missing instance data for this datepicker

    In the same time once I clone the group in the new date picker fields there is no such a problem and they work normal.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #1564

    up2
    Participant

    Must be something with the ID of the element. For example if I remove the line:

    $field.attr( 'id', cloneIndex.replace( index, id, '_' ) );

    from clone.js – it seem to work normal.

    #1566

    Anh Tran
    Keymaster

    Let me check that again. By the way, are you using the stable version or development version on Github?

    #1567

    Anh Tran
    Keymaster

    I’ve just pushed a fix to Github. It will be in the core plugin in the next version (soon).

    Thanks for letting me know about the bug!

    #1568

    up2
    Participant

    Using stable versions, not GitHub. Thanks, will check if that works!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problems with date picker in group’ is closed to new replies.