Asked 6 years, 8 months ago
Viewed 377 times
I want to define a checkbox in Binding.scala, like:
<input type="checkbox"
checked={elem.checked}
/>
elem.checked
can have any String value (even an empty):the checkbox is always checked
.
How can I get
<input type="checkbox"
checked/>
if checked, resp.
<input type="checkbox"/>
if not.
asked Dec 14, 2018 at 18:30
pmepme14.9k55 gold badges6161 silver badges110110 bronze badges
Start asking to get answers
Find the answer to your question by asking.
Ask questionExplore related questions
See similar questions with these tags.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4