Closed radiomime closed 1 year ago
Hi and thanks for the report
It should be fixed in https://github.com/jsonform/jsonform/commit/961c590237b48c13bacd533206222e043ff39c49, can you confirm?
Thanks for the quick turn around! Confirmed, it is working for the example in the issue and in my project.
intent
I'd like to apply a bootstrap activeClass to a radiobutton with a default set.
bug
On load, yields:
And when a different selection (C++) is chosen, yields:
observations
This isn't an issue when there isn't a default value set. Removing
"default": "Python"
in theschema
section above will allow thebtn-primary
class to apply. But when a default is provided (with thedefault
keyword or in avalue
section), thebtn-success
class is applied.