Skip to content

check if given selected value is a 0, if it is a zero so return it as #513

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

Merged
merged 1 commit into from
Apr 3, 2017
Merged

check if given selected value is a 0, if it is a zero so return it as #513

merged 1 commit into from
Apr 3, 2017

Conversation

UtechtDustin
Copy link
Contributor

@UtechtDustin UtechtDustin commented Mar 17, 2017

Just check if the given selected Value is a boolean, if it is a int cast it to a string.

string to prevent that jquery think its a boolean
@UtechtDustin
Copy link
Contributor Author

Not working (before PR) : https://jsfiddle.net/s2yoqs8e/
Working (after PR): https://jsfiddle.net/s2yoqs8e/2/

@bbrala bbrala merged commit 41642c9 into swisnl:master Apr 3, 2017
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