Skip to content

Support single-quoted name attributes in statics detection #27

@adnaan

Description

@adnaan

Context

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

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

Task

extractNameFromTag and detectTextareaBinding only match name="..." (double quotes). Templates using name='foo' would be silently skipped, causing those fields to never auto-wire.

Low risk since Go templates produce double-quoted attributes, but single-quoted attributes are valid HTML and could appear in custom templates.

Location

state/change-auto-wirer.tsextractNameFromTag() and detectTextareaBinding() methods


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