Skip to content

Commit c5648fc

Browse files
authored
docs(radio): fix radio demo (#3326)
1 parent 74cf281 commit c5648fc

File tree

1 file changed

+1
-1
lines changed
  • static/usage/v7/radio/using-comparewith

1 file changed

+1
-1
lines changed

static/usage/v7/radio/using-comparewith/demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
};
4646

4747
const radioGroupEl = document.querySelector('ion-radio-group');
48-
radioGroupEl.compareWith = (a, b) => a.value === b.value;
48+
radioGroupEl.compareWith = compareWithFn;
4949

5050
foods.forEach((option, i) => {
5151
const radio = document.createElement('ion-radio');

0 commit comments

Comments
 (0)