Skip to content

Add support for .id() (only apply if component.id is set) #16

@0xWDG

Description

@0xWDG

Enhance the .id() support so that it is only applied if component.id is set.

Implementation details:

  • Update logic to check if component.id is defined (not null/undefined/empty).
  • Only apply .id() logic (e.g., setting attribute, propagating, etc.) when component.id is present.
  • If component.id is not set, skip applying .id().

This ensures .id() is only applied to components that explicitly have an ID set, preventing default or unwanted behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions