Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Ion-range inside reactive form trigger on change after form reset with emitEvent to false

$
0
0

Dears i’m using ionic 6 with angular

I have reactive form inside it i have ion-range

When i call this.form.reset('', {emitEvent: false });

even with emitEvent set to false ion-rage will trigger , i do not know how to solve it
because i have subscribed to the form like this :

this.form.valueChanges.subscribe((value) => {
      console.log(value);
     
      this.onSearch();
    });

and i do not want to run onSearch when i do form reset

I think most ionic component not working well with the form that i tried

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>