Questions tagged [ion-checkbox]
17 questions
5
votes
2 answers
ion-checkbox "checked" attribute not working
I am pretty new to angular/ionic and I am trying to create a form with checkboxes that are checked by default.
It tried both
checked
and
checked="true"
but neither is working.
The strange thing is, that the attribute 'disabled' works just…

USAfirefighter
- 75
- 3
- 10
5
votes
6 answers
ion-Checkbox only on box clickable
I want to separate my from . So the main issue is that I have to display additional informations if you click on the label, but you should not activate the checkbox. The checkbox should only be activated, if clicked on the…

Marcel
- 91
- 1
- 10
3
votes
3 answers
ion-checkbox doesn't check properly
I am new to angular/ionic
I have parent checkbox, on click of it, I want to enable tick of all its child and vice versa
Here is my code i have tired but its not working:
home.html
2
votes
1 answer
Ionic 6 Angular slot="error" doesn't work with ion-checkbox and ion-radio-group
I am trying slot error , it works for more of the input fields, but seems it doesn’t work for ion-checkbox and for the ion-radio-group .
In the in the .ts file I have.
private buildForm() {
this.form = this.formBuilder.group({
…

Dimitar Marinov
- 31
- 3
2
votes
3 answers
How to get ion-checkbox multiple select value in Ionic 3
0">
{{member?.testName || 'N/A'}}
[{testID:…
Awadhesh Kumar
- 29
- 1
- 1
- 5
2
votes
1 answer
Ionic 2 ionic 3 - ion-checkbox inside ngIf or ngSwitch not working
Hi there I have a problem -
Ionic 2 ionic 3 - ion-checkbox inside ngfor and with condition, such as ngIf or ngSwitch not working
I posted my code online with working and not working…

Tzvi Gregory Kaidanov
- 3,080
- 3
- 26
- 33
1
vote
1 answer
changing default value of ion-checkbox
I have created a form which uses ion-checkboxes in angular, which when ticked submits "true" to the database, how do I submit the value of the box to the database, so for example in my list is Junior Groups, so I would like "Junior Groups" to appear…

Jon
- 91
- 9
1
vote
0 answers
I want to change the checkbox icons in ionic
I want to use my own icon for the ionic checkbox (ion-checkbox). I manage to do it in the console by changing the class of a div that I don't have in my html sheet..
My code :
`

marina jallabert
- 11
- 1
1
vote
1 answer
Change CheckBox state on ion- list item click?
I have a list and a checkbox in every row of it. I want that whenever I click on a checkbox, the object need to update based on checkbox state accordingly,but using my below when i tapped on checkbox i am getting exception like Unable to set…

Krish
- 4,166
- 11
- 58
- 110
1
vote
1 answer
How to set Ngmodel for a nested ngFor ion-checkbox?
I have a nested ngFor Checkbox.. All i need is to set the NgModel to check if the check box is checked??

Karthika
- 45
- 1
- 8
1
vote
0 answers
Checkbox inside ion-slides with loop enabled
I have a page which contains ion-slides with loop enabled. Each slide is generated with *ngFor and each one contains a checkbox. The problem I am facing is that the checkbox is not getting checked on first and last slides. I have found that its…

Unnikrishnan M R
- 224
- 2
- 11
0
votes
1 answer
Ionic - Limits of what can be pushed into [innerHTML]
I'm a volunteer at a Coffee Shop. I've built an app that presents the drink recipe to the barista. Here's a quick snapshot:
The data come from a firebase realtime database. Here's a snippet from that database:
What I want to do is to put some…

Paul Mullen
- 47
- 7
0
votes
1 answer
Print the name of a checkbox in ion-textarea if checked. on IONIC
im trying to print the name of checked checkboxes in an ion-texarea. The app ask for the name, the genre(masculine, femenine) and description(tall, small, smart, ugly, etc.), at the bottom there's an ion-textarea to print a sentence like, Name is a…

DevBaca
- 3
- 2
0
votes
1 answer
Ionic ion-checkbox [(ngModel)]="! item.open" it does not work
I need to check the items "Not open" in an ion-checkbox, but the item I get from a server is item.open. When I click on the ion-checkbox it doesn't work correctly.
Does anyone have a solution?
ion-checkbox [(ngModel)]="!item.open"
0
votes
1 answer
How to get an array of multi checkbox on ionic4?
I'm trying to get an array with a multi checkbox on ionic 4, can someone help me?
0
…

dhammani
- 141
- 1
- 14