Skip to content

Commit

Permalink
fix(radiobar input): trigger change when selecting value (closes #200)
Browse files Browse the repository at this point in the history
* The radiobar input wasn't triggering observers when a new value was selected.
The fix was to trigger the update callback on the select event.
  • Loading branch information
nteetor committed Oct 31, 2024
1 parent 2b54a24 commit c76fb54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/src/input-binding-radiobar.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ $.extend(radiobarInputBinding, {

$el.on("click.yonder", e => callback());
$el.on("change.yonder", e => callback());
$el.on("radiobar.select.yonder", e => callback());
},
unsubscribe: (el) => {
$(el).off(".yonder");
Expand Down

0 comments on commit c76fb54

Please sign in to comment.