Wikiki / bulma-switch

Bulma's extension to display checkbox as a switch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`checked` attribute does not work

kierandrewett opened this issue · comments

@Wikiki Hi, I was wondering why checked="checked" doesn't work on the switch, nor does checked attribute. It works without the css, and it looks like this https://honestly-i-hate.ender.site/i/D4KoCd.png it works.

Thanks, Ender

Hi @EnderDev,

it's perfectly working on the demo site with checked="checked"(try to edit the page source code and manually modify attibutes of the input element)

How does data binding to the switch work? Is this possible?

How does data binding to the switch work? Is this possible?

Check out https://svelte.dev/tutorial/checkbox-inputs

@Wikiki Hi, I was wondering why checked="checked" doesn't work on the switch, nor does checked attribute. It works without the css, and it looks like this https://honestly-i-hate.ender.site/i/D4KoCd.png it works.

Thanks, Ender

link rel "stylesheet" href="https://wikiki.github.io/css/documentation.css?v=201911011043"