• Resolved rbompani

    (@rbompani)


    I have created new custom setting page.

    I have created new field type:
    Relationship [type: pick]
    › Calendar – Days of Week (Predefined List)
    with multiple select and checkboxes. ( Selection Limit=0)

    When i compile new setting page, if I don’t select nothing in relationship and save, pods save automatically Sunday.
    If I select Monday save is ok, but for all other days the problem appear.

    http://wordpress.org/plugins/pods/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rbompani

    (@rbompani)

    I look at the array with print_r

    if i select:

    – all day, saved array is
    ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 [6] => 6 )
    Correct!

    – only Monday, saved array is 1
    Correct!

    – only Sunday, saved array is
    ( [0] => 0 [1] => 0 )
    Error! I expect “0” or ( [0] => 0 )

    – only Sunday and Monday, saved array is
    ( [0] => 0 [1] => 1 )
    Correct!

    – only Sunday and Tuesday, saved array is
    ( [0] => 0 [1] => 0 [2] => 2 )
    Error!

    – only Tuesday, saved array is
    ( [1] => 0 [2] => 2 )
    Error!

    Plugin Contributor Josh Pollock

    (@shelob9)

    I have opened a bug report about this issue:
    https://github.com/pods-framework/pods/issues/1862

    Thanks for bringing this issue to our attention. You can follow along with our progress resolving it by following that Github issue.

    Thread Starter rbompani

    (@rbompani)

    no news for this problem?

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    @rbompani, Please follow-up on GitHub, we’ll be updating it there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem: save relationship calendar on setting pod’ is closed to new replies.