Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taxonomy_select none option fix #477

Merged
merged 1 commit into from
Oct 1, 2015
Merged

taxonomy_select none option fix #477

merged 1 commit into from
Oct 1, 2015

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.

None yet

2 participants