Skip to content

Skip debounce for discrete change events (checkbox/select) #26

@adnaan

Description

@adnaan

Context

Follow-up from PR #25 (Change() auto-inference).

Source PR: #25
Suggested by: @claude[bot]

Task

Checkbox and select elements use the change event (correct), but they still go through the same 300ms debounce as text inputs. For discrete inputs there is no benefit to debouncing — it just adds latency.

Consider defaulting to 0ms debounce when eventType === "change" unless lvt-debounce is explicitly set on the element.

Location

state/change-auto-wirer.tsattachListener() method


This issue was created from PR review comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-upFollow-up task from PR review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions