Closed merenyics closed 2 years ago
While the templating function templates:form-control seems to handle radio buttons, the result appears to be all options getting the checked attribute, instead of applying the attribute only to the option with the correct value.
templates:form-control
checked
I've confirmed your report and filed a PR in the new templating repository, where this library is now maintained:
https://github.com/eXist-db/templating/pull/9
While the templating function
templates:form-control
seems to handle radio buttons, the result appears to be all options getting thechecked
attribute, instead of applying the attribute only to the option with the correct value.