How do I set the `value` attribute of an `<opti...
# kotlinx-html
m
How do I set the
value
attribute of an
<option>
element? I can do
attributes["value"] = "my-value"
, but is there no shortcut for it?
c
Copy code
option {
  value = "xyz"
}
This is how we do it.
m
Ah, that's how to do it. thank you color
c
You're welcome