value attribute stripped from option elements
kmonahan opened this issue · 2 comments
kmonahan commented
Seeing an odd issue where include <option value="whatever">Some Text</option>
results in the output <option>Some Text</option>
, with the value
attribute stripped. Other attributes work as expected, e.g. <option myValue="whatever">Some Text</option>
results in <option myvalue="whatever">Some Text</option>
. The same issue does not occur with <input>
elements, just with <option>
elements inside a <select>
.
willrowe commented
Can you please provide an example of it working in TwigPHP via twigfiddle and an example of it not working in twig.js using this template?
kmonahan commented
Closing as I've finally chased the issue down to a different library