Viewing 1 reply thread
  • Author
    Posts
    • #5361
      Jan
      Member

      Hi folks,

      strange bug:

      wp: 4.4
      piklist 0.9.4.29

      ——-

      I created group of fields, with many text fields, and 2 file fields, specially used for images (slider)

      Everything is fine, until i try to add image to second image upload field in second field group. First field group works fine. Second field group:

      item2(-x).file1: looks ok, and image is assigned to this field
      item2(-x).file2: not working: image is assigned always to item1.file2

      here is brief config:

      piklist(‘field’, array(
      ‘type’ => ‘group’,
      ‘field’ => ‘slides’,
      ‘label’ => ‘Slides’,
      ‘columns’ => 12,
      ‘add_more’ => true,
      ‘scope’ => ‘post_meta’,
      ‘fields’ => array(

      array(
      ‘type’ => ‘file’,
      ‘field’ => ‘slider_image’,
      ‘label’ => ‘Image’,
      ‘attributes’ => array(
      ‘class’ => ‘large-text’
      ),
      ),
      array(
      ‘type’ => ‘file’,
      ‘field’ => ‘slider_image_mobile’,
      ‘label’ => ‘Image mobile’,
      ‘attributes’ => array(
      ‘class’ => ‘large-text’
      ),
      )
      )
      ));

    • #5373
      Steve
      Keymaster

      @horecnyPlease try the beta. Let us know if that fixes the issue.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.