Support » Plugin: Simple Fields » Datepickers output problem in a repeated group fields

  • Hello,

    I had some issue when using 2 datepickers components in a repeated group fields :
    I had created a repeated group fields that contains 2 datepickers, date_begin (requierd) and date_end (optionnal).

    In the back office, when I entered values like :

    – date_begin = date_1 / date_end = date_2
    – date_begin = date_3 / date_end = none
    – date_begin = date_4 / date_end = none

    In the front, as output, i have :

    – date_begin = date_1 / date_end = date_2
    – date_begin = date_3 / date_end = date_2
    – date_begin = date_4 / date_end = date_2

    After some investigation, i found the bug in field_date_v2.php [line 431] :
    the declaration of “$arr_extended” must be inside foreach, not before, because old date values is remained in the array.

    Could you fix this in the next version please ?

    regards,

    Dimbi

    https://wordpress.org/plugins/simple-fields/

  • The topic ‘Datepickers output problem in a repeated group fields’ is closed to new replies.