Skip to content

Conversation

@adamcapriola
Copy link
Contributor

I have a taxonomy with numeric terms — 0, 1, 2, 3, etc... — and the taxonomy_select option output was looking like this:

<option value="" selected="selected">None</option>
<option value="0" selected="selected">0</option>
<option value="1">1</option>

Doing a strict comparison seems to fix the issue and only None gets selected. I can then select the 0 value and it is saved and selected correctly too.

jtsternberg added a commit that referenced this pull request Oct 1, 2015
taxonomy_select none option fix
@jtsternberg jtsternberg merged commit 61ebdff into CMB2:trunk Oct 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants