Post field as checkbox list select_all_none or std do not work

Support General Post field as checkbox list select_all_none or std do not work

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7404
    grafikgrafik
    Participant

    When displaying posts in a checkbox list, the options select_all_none or std do not appear to work. (I am trying to achieve a checkbox list with all checkboxes pre-ticked)

    		array(
    			'name'    => __( 'Fabric', 'rwmb' ),
    			'id'      => "{$prefix}fabric_attached",
    			'type'    => 'post',
    			'clone'    => false,			
    			'post_type' => 'fabric',
    			'field_type' => 'checkbox_list',
    			'std'   => 1,
    			'select_all_none' => true,
    			'query_args' => array(
    				'post_status' => 'publish',
    				'posts_per_page' => '-1',
    				'orderby' => 'name',
    				'order' => 'ASC',
    			),
    		),
    #7416
    Anh TranAnh Tran
    Keymaster

    Hi, let me check the code and will fix it soon.

    Edit: Just fixed it on Github. Will release new version soon.
    Edit 2: New version 4.12.5 has been released. Please update.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Post field as checkbox list select_all_none or std do not work’ is closed to new replies.