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

Ion-checkbox and ion-toggle are checked by default

$
0
0

@benetj wrote:

Hello,
This is my post here :smiley:

First my config

Ionic version
5.4.9

ng --version

Angular CLI: 8.1.3
Node: 12.11.1
OS: darwin x64
Angular: 8.1.3
… cli, common, compiler, compiler-cli, core, forms
… language-service, platform-browser, platform-browser-dynamic
… router

Package Version

@angular-devkit/architect 0.801.3
@angular-devkit/build-angular 0.801.3
@angular-devkit/build-optimizer 0.801.3
@angular-devkit/build-webpack 0.801.3
@angular-devkit/core 8.1.3
@angular-devkit/schematics 8.1.3
@ngtools/webpack 8.1.3
@schematics/angular 8.1.3
@schematics/update 0.801.3
rxjs 6.5.3
typescript 3.4.5
webpack 4.35.2

I have a problem when I use ion-checkbox and ion-toggle components.
It seems, as per documentation, checked is false by default, but when use one of these by default is checked.

Example:

<ion-toggle></ion-toggle>

Is rendered active(checked = true)

If I put checked=“false” nothing happens.

Anyone have a clue about this?

Thanks!!

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>