Select on cloned group can't be updated
Support › MB Frontend Submission › Select on cloned group can't be updated
- This topic has 2 replies, 2 voices, and was last updated 6 years, 3 months ago by
Anh Tran.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
December 2, 2018 at 9:56 PM #12444
kesit
ParticipantHi,
I have problem on cloned group which has Select field.
On first group, I can select option from the field, but when I cloned the group, the select field can't be update and just copied the value from the previous group.The code works fine on admin page, but on front-page the problem occurred.
Here is the code:
array( 'id' => 'g1', 'name' => 'Branches', 'type' => 'group', 'clone' => true, 'sort_clone' => true, 'collapsible' => true, 'group_title' => array( 'field' => 'name' ), // ID of the subfield 'save_state' => true, 'fields' => array( array( 'name' => 'Name', 'id' => 'name', 'type' => 'text', ), array( 'name' => 'Address', 'id' => 'address', 'type' => 'text', ), array( 'id' => 'contacts', 'type' => 'group', 'clone' => true, 'collapsible' => true, 'save_state' => true, 'group_title' => array( 'field' => 'person' ), 'fields' => array( array( 'id' => 'person', 'type' => 'text', 'name' => 'Person', ), array( 'id' => 'phone', 'type' => 'text', 'name' => 'Phone', ), array( 'id' => 'saudara_status_test', 'name' => 'Status', 'type' => 'select', 'placeholder' => 'Pilih salah satu', 'options' => array( 'Pelajar' => 'Pelajar', 'Mahasiswa' => 'Mahasiswa', 'Pegawai' => 'Pegawai', 'Lainnya' => 'Lainnya', ), ), ), ), ), ),
Please help...
December 2, 2018 at 9:57 PM #12445kesit
Participantthe field with id "saudara_status_test" is the field with the problem...
January 7, 2019 at 11:37 AM #12914Anh Tran
KeymasterHi kesit,
We were unable to replicate the bug. We tested your code and it looks right. Here is our screenshot: https://prnt.sc/lvwk3z. Can you please check that again?
Thanks
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.