mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Stop checkbox click propogation (#3802)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
b8fbcc695e
commit
a4e8a2d91b
@ -42,6 +42,7 @@
|
|||||||
class:positive={kind === 'positive'}
|
class:positive={kind === 'positive'}
|
||||||
class:readonly
|
class:readonly
|
||||||
class:checked
|
class:checked
|
||||||
|
on:click|stopPropagation
|
||||||
>
|
>
|
||||||
<input class="chBox" disabled={readonly} type="checkbox" bind:checked on:change={handleValueChanged} />
|
<input class="chBox" disabled={readonly} type="checkbox" bind:checked on:change={handleValueChanged} />
|
||||||
<svg class="checkSVG" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
<svg class="checkSVG" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
Loading…
Reference in New Issue
Block a user