You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm mainly a JS developer. I have found a glitch marking items as selected in g:select TagLib, I have discovered that the comparison between a string "0" and a Long("48") is equals, strong "1" is equals to Long("49") till string "9" is equals to Long("57").
Hello,
I'm mainly a JS developer. I have found a glitch marking items as selected in g:select TagLib, I have discovered that the comparison between a string "0" and a Long("48") is equals, strong "1" is equals to Long("49") till string "9" is equals to Long("57").
I have made a little gist (https://groovyconsole.appspot.com/edit/5164137747316736)
And here is the exact line where the comparison is made
grails-gsp/grails-plugin-gsp/src/main/groovy/org/grails/plugins/web/taglib/FormTagLib.groovy
Line 1069 in 65ea788
Maybe changing that comparison to a strict comparison will fix the problem.
Regards
The text was updated successfully, but these errors were encountered: