Taxonomy selects first value when should show blank

Support MB Conditional Logic Taxonomy selects first value when should show blank

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #47809
    YasmineYasmine
    Participant

    Hello,

    I have an issue on my user form. I have a taxonomy field, eg:

    
            $field= [
                    'name' => __( 'Main research area', 'your-text-domain' ),
                    'id'   => 'research_area',
                    'type' => 'taxonomy_advanced',
                    'taxonomy' => ['expertise-area'],  
                    'field_type'    => 'select_advanced',
                    'multiple'      => true,
                     'ajax' => true,
                     
            ];
    

    And it autoselects the first value.

    It is not just this taxonomy, but every taxonomy_advanced which uses select_advanced

    I tried adding 'std' = ''; - didn't fix it

    #47812
    PeterPeter
    Moderator

    Hello Yasmine,

    I try to reproduce the issue on my site but don't see that. The taxonomy_advanced field will show the placeholder first without selecting any option.
    Can you please create a new field in a new field group and recheck the issue? You can also try to deactivate all plugins except Meta Box plugins, switch to a WordPress theme and see how it works.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.