Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

How to clear selection of check boxes when reset button is clicked

$
0
0

@kavithapramod wrote:

Hi I need to reset all check box selections on button click. I have a dynamic list with check boxes. How can I perform this in typescript. Please kindly help me if you know the solution. below is my code

<button (click)=“closeModal()” class=“close”>

{{ 'product_filter.category' | translate }}
{{ cate }}
<h6>{{ 'product_filter.stock' | translate }}</h6>

0<ion-checkbox class=“itemCheck” slot=“start” (ionChange)=“selectStock(‘0’, $event)”>
1<ion-checkbox class=“itemCheck” slot=“start” (ionChange)=“selectStock(‘1’, $event)”>
2<ion-checkbox class=“itemCheck” slot=“start” (ionChange)=“selectStock(‘2’, $event)”>


<button class=“done” (click)=“filterProduct()” [disabled]="!isenabled">Apply
<button class=“reset” (click)=“resetModal()” [disabled]="!isenabled">Reset

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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