Group Field with save_field and disabled stores allways empty field
-
I created a option page with following group field:
$cmb_options->add_group_field( $group_field_id_receiver, array( 'name' => esc_html__( 'Form ID', 'xyz' ), 'id' => 'prefilled_receiver_form_id', 'type' => 'text', 'desc' => 'xxx', 'save_field' => false, 'attributes' => array( 'readonly' => 'readonly', 'disabled' => 'disabled', ), ) );
On every save the value will be empty. Even if there was a valid imput. Without
disabeld
it works…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Group Field with save_field and disabled stores allways empty field’ is closed to new replies.