Hi,
When I'm using SHtml.checkbox the id attribute of the original element
gets lost. So in simple transformation like:
"#checkboxField" #> SHtml.checkbox(checkboxVal, checkboxVal = _)
I get:
<input id="checkboxField">
turned into:
<input name="F958524152726VSM5A1" type="checkbox" value="true">
I noticed that SHtml.text and SHtml.select work differently - they
preserve the original id of the element. Is that on purpose or should
I use some other checkbox method?
Here's a very simple example where you can see the difference
https://github.com/jczuchnowski/lift-test
Thanks,
Jacob