diff --git a/static/usage/v7/radio/using-comparewith/demo.html b/static/usage/v7/radio/using-comparewith/demo.html index 4903e4b04d4..09dac86c107 100644 --- a/static/usage/v7/radio/using-comparewith/demo.html +++ b/static/usage/v7/radio/using-comparewith/demo.html @@ -45,7 +45,7 @@ }; const radioGroupEl = document.querySelector('ion-radio-group'); - radioGroupEl.compareWith = (a, b) => a.value === b.value; + radioGroupEl.compareWith = compareWithFn; foods.forEach((option, i) => { const radio = document.createElement('ion-radio');