Conditional ion-range onchange event

Hi, there;
I am doing a project using Ionic V6.2.5 running on Android device.
What can I do to stop event “ionChange” from being triggered? I would like to have some condition before it is triggered. I have tried “stoppropagation()”, reventdefault()"…

None of these don’t seem to work.