Skip to content

Clicking a ty-switch inside a label triggers on-change two times #6

Description

@fndriven

When I click the label below on-change is triggered once.
When I click ty-switch itself on-change is triggered twice.

I use tyrell RC13 with Replicant.
[:label [:ty-switch {:on {:change [[:console/log [:event.target/detail.value]]]}}] "Switch"]

This works as expected
[:ty-switch {:on {:change [[:console/log [:event.target/detail.value]]]}}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions