Skip to content

Missing features on label #7

Description

@Stanton

The label component is missing the following documented functionality

  • removable modifier

Twig example:

{{
    html.label({
        'label': 'My Label',
        'removable': true
    })
}}

HTML Example:

<span  class="label label--removable"><span class="label__text">My Label</span><button type="button" data-action="remove" data-action-target="this"  class="btn  remove-button"><i  class="icon-remove-sign"><span class="hide">Remove My Label</span></i></button></span>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions