Skip to content

Commit

Permalink
sortable on groups hasn't been beta for quite a while now
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Dec 28, 2017
1 parent 5dee3d9 commit 72ed239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function yourprefix_register_repeatable_group_field_metabox() {
'group_title' => esc_html__( 'Entry {#}', 'cmb2' ), // {#} gets replaced by row number
'add_button' => esc_html__( 'Add Another Entry', 'cmb2' ),
'remove_button' => esc_html__( 'Remove Entry', 'cmb2' ),
'sortable' => true, // beta
'sortable' => true,
// 'closed' => true, // true to have the groups closed by default
),
) );
Expand Down

0 comments on commit 72ed239

Please sign in to comment.