We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 235077b commit 8d97dc6Copy full SHA for 8d97dc6
src/resources/views/crud/fields/radio.blade.php
@@ -70,8 +70,8 @@ function bpFieldInitRadioElement(element) {
70
71
// when one radio input is selected
72
element.find('input[type=radio]').change(function(event) {
73
- // the value gets updated in the hidden input
74
- hiddenInput.val($(this).val());
+ // the value gets updated in the hidden input and the 'change' event is fired
+ hiddenInput.val($(this).val()).change();
75
// all other radios get unchecked
76
element.find('input[type=radio]').not(this).prop('checked', false);
77
});
0 commit comments