Support

Account

Home Forums Bug Reports Space before Taxonomy name as a select field

Solved

Space before Taxonomy name as a select field

  • Looks as if there might be a slight bug with the taxonomy select field. A blank space gets added to the beginning of each taxonomy in the select field. I found this when I was trying to verify a selection based on the text string and not the value of the select field.

    Here is the html output of the field:

    <div class="acf-taxonomy-field">
    	<input type="hidden" name="fields[field_52ebb04b8108a]" value="">
              <select name="fields[field_52ebb04b8108a]">
                <option value="2"> Animation</option>
                <option value="5"> eLearning</option>
                <option value="6"> Interactive</option>
                <option value="3"> Literature</option>
                <option value="4"> Video</option>
              </select>
    </div>

    Not sure if this is a bug on your end or something from the WP core.

  • Hi @whodeee

    Thanks for the bug report. I’ll look into it.

    Cheers
    E

  • Hi @whodeee

    Thanks again for the bug report.
    This has been fixed and pushed to github.

    Cheers
    E

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Space before Taxonomy name as a select field’ is closed to new replies.