Skip to content

Commit

Permalink
Merge pull request #5502 from vonsofh/patch-2
Browse files Browse the repository at this point in the history
Update radio.blade.php
  • Loading branch information
pxpm authored Jul 16, 2024
2 parents 5b83406 + 7e0c5b8 commit 6141ed3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/resources/views/crud/fields/radio.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ function bpFieldInitRadioElement(element) {
});
// select the right radios
element.find('input[type=radio][value="'+value+'"]').prop('checked', true);
element.find('input[type=radio]').filter(function() {
return $(this).val() === value;
}).prop('checked', true);
}
</script>
@endBassetBlock
Expand Down

0 comments on commit 6141ed3

Please sign in to comment.