skip to Main Content

Html – I am trying to display two columns within a row in my ionic/angular project. the its just creating a stack where the other content is in the bottom

I am trying to display two columns within a row in my ionic/angular project. the its just creating a stack where the other content is in the bottom. this is also my css <ion-grid class="rewards-container" *ngIf="!noRewardsData"> <ion-row class="row-container"> <ng-container *ngFor="let…

VIEW QUESTION

Javascript – how to prevent special charactors in ion-input .?

special characters are accepting in input field . i am using the field for storing the serial number. serial number is alphanumeric <ion-input [(ngModel)]="serial_number" (ngModelChange)="validation($event)" #serialno id="serialno" class="cac-input"></ion-input> validation(event) { const inputElement = document.getElementById('serialno') as HTMLInputElement; const pattern = /^[a-zA-Z0-9]*$/;…

VIEW QUESTION

Reactjs – How do I preevnt an ion-checkbox from being checked when an icon in its row is clicked?

I'm using Ionmic 7 with React 18. I have this simple list of items that can be checked or edited. <IonList> <IonLabel> <strong>Select Items</strong> </IonLabel> {items.map((item) => ( <IonItem key={item}> <IonCheckbox slot="start" name="selectedItems" value={item} /> <IonLabel>{item}</IonLabel> <IonIcon icon={pencilOutline} slot="end" onClick={onEditHandler(item)}…

VIEW QUESTION
Back To Top
Search