Since upgrading Good to v1.0.4 advanced radio buttons are not updating the active state of button correctly. All radio button remains active.
This issue can be seen on live demo.
https://preview.keenthemes.com/good/documentation/base/forms/advanced.html#radio-buttons-example-4
Hi,
Thanks for your feedback. We will fix it in the next update. In the meantime you can quickly fix it by changing the below code in core/html/src/js/layout/app.js
var initButtons = function () {
var buttonsGroup = [].slice.call(document.querySelectorAll("[data-kt-buttons="true"]"));
buttonsGroup.map(function (group) {
var selector = group.hasAttribute("data-kt-buttons-target") ? group.getAttribute("data-kt-buttons-target") : ".btn";
var activeButtons = [].slice.call(group.querySelectorAll(selector));
// Toggle Handler
KTUtil.on(group, selector, "click", function (e) {
activeButtons.map(function (button) {
button.classList.remove("active");
});
this.classList.add("active");
});
});
}