I just noticed a really specific case where the value attribute from an option tag would not be rendered properly.
Problem
When you attempt to render an option tag that has the same DTL expression for both its value attribute and innerHTML the value attribute does not get rendered.
I just noticed a really specific case where the value attribute from an option tag would not be rendered properly.
Problem When you attempt to render an option tag that has the same DTL expression for both its value attribute and innerHTML the value attribute does not get rendered.
Eg:
file.template
context object { fruit : "Fruit" }
result
(notice that the value attribute has not changed)
You can see it live in this fiddle (inspect the elements of the created combo box).