Skip to content

Citry UI: refuse Citry UI's own data-citry-<component>-* names in attrs= and c-bind #716

Closed

Description

@JuroOravec

Some Citry UI components (for example CButton) refuse only the attribute names they set themselves. Any other data-citry-<component>-* name passed through attrs=, a *_attrs= argument or c-bind, such as data-citry-dialog-close, still reaches Citry UI's browser code, which acts on it. When an app passes request or stored data as attribute names, that data can trigger Citry UI browser behaviour.

#713 reserves citry's own marker names but leaves the data-citry- prefix open, because Citry UI passes its own names through c-bind. Fix: one Citry UI check that refuses every name Citry UI's browser code reads when it comes from attrs=/*_attrs=, while still letting components set their own.

🤖 Generated with Claude Code

Activity

  1. added this to the 1.0.0 milestone on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions