We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
avram/src/lucky/ext/select_helpers.cr
Lines 31 to 34 in 9c8caec
It calls .to_s on the option_value but the list of selected options coming from the attribute might be numbers.
.to_s
option_value
The solution is to map the array to string values and compare that way like the single value comparison does
Line 19 in 9c8caec
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
avram/src/lucky/ext/select_helpers.cr
Lines 31 to 34 in 9c8caec
It calls
.to_s
on theoption_value
but the list of selected options coming from the attribute might be numbers.The solution is to map the array to string values and compare that way like the single value comparison does
avram/src/lucky/ext/select_helpers.cr
Line 19 in 9c8caec
The text was updated successfully, but these errors were encountered: