- This topic has 4 replies, 2 voices, and was last updated 6 years, 11 months ago by
pupppet.
-
AuthorPosts
-
-
March 5, 2015 at 7:13 pm #3387
pupppetMemberWhen I click “Add More” I get a duplicated group that semi randomly populates a few of the fields in the new group with content from the very first group. I’m running 0.9.4.25.
piklist('field', array( 'type' => 'group' ,'field' => 'layers' ,'add_more' => true ,'label' => 'Layer' ,'template' => 'field' ,'columns' => 12 ,'fields' => array( array( 'type' => 'text' ,'field' => 'label' ,'label' => '' ,'columns' => 12 ,'description' => 'test' ,'attributes' => array( 'class' => 'text', ) ), array( 'type' => 'editor' ,'field' => 'content' ,'label' => '' ,'options' => array ( 'wpautop' => true ) ), array( 'type' => 'select' ,'field' => 'align' ,'label' => 'Alignment' ,'columns' => 6 ,'choices' => array( 'default' => 'Default' ,'left' => 'Left' ,'center' => 'Center' ,'right' => 'Right' ) ), array( 'type' => 'text' ,'field' => 'text_size' ,'label' => 'Text Size' ,'columns' => 6 ,'attributes' => array( 'class' => 'text' ) ), array( 'type' => 'colorpicker' ,'field' => 'text_color' ,'label' => 'Text Color' ,'columns' => 6 ,'attributes' => array( 'class' => 'text' ) ), array( 'type' => 'colorpicker' ,'field' => 'background_color' ,'label' => 'Background Color' ,'columns' => 6 ,'attributes' => array( 'class' => 'text' ) ), array( 'type' => 'text' ,'field' => 'background_image_url' ,'label' => 'Background Image URL' ,'columns' => 6 ,'attributes' => array( 'class' => 'text' ) ), array( 'type' => 'select' ,'field' => 'background_image_opacity' ,'label' => 'Background Image Opacity' ,'columns' => 6 ,'choices' => array( '' => 'Select an opacity »' ,'.1' => '10%' ,'.2' => '20%' ,'.3' => '30%' ,'.4' => '40%' ,'.5' => '50%' ,'.6' => '60%' ,'.7' => '70%' ,'.8' => '80%' ,'.9' => '90%' ,'1' => '100%' ) ), array( 'type' => 'file' ,'field' => 'background_image' ,'label' => 'Background Image' ,'columns' => 6 ,'attributes' => array( 'class' => 'piklist-custom-media-field' ) ,'options' => array( ) ), array( 'type' => 'text' ,'field' => 'custom_css' ,'label' => 'Custom CSS' ,'columns' => 6 ,'attributes' => array( 'class' => 'text' ) ), array( 'type' => 'text' ,'field' => 'custom_class' ,'label' => 'Custom Class' ,'columns' => 6 ,'attributes' => array( 'class' => 'text' ) ), ) )); -
March 6, 2015 at 3:42 pm #3391
-
March 9, 2015 at 1:47 pm #3405
pupppetMemberThanks, I gave it a try but I’m still seeing the same column issue-
Typical field:
<div data-piklist-field-group="ccf4167" data-piklist-field-columns="6" class="piklist-field-column piklist-field-column-last" style="display: block; float: left; width: 49.25%; margin-right: 0px;">...</div>versus a file field:
<div data-piklist-field-group="ccf4167">...</div> -
March 10, 2015 at 9:48 am #3413
-
March 11, 2015 at 6:20 pm #3442
pupppetMemberSorry, getting my posts mixed up. I thought the fix was also for the issue I reported here: https://piklist.com/support/topic/file-field-issues/.
But the semi randomly populated content appears to be resolved thanks!
-
-
AuthorPosts
- The topic ‘Add more issues’ is closed to new replies.