Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dropdown] Use delete icon classname from settings instead of having it hardcoded #389

Merged
merged 1 commit into from
Jan 18, 2019

Conversation

lubber-de
Copy link
Member

Description

While discovering #383 it turns out, the delete icon is hardcoded in the template for labels.
Although you are able to change the selector for this via settings, you cannot for the icon class itself, but would have to provide the whole template for labels instead, just to be able to use another iconname

This PR changes the label-template to fetch the classname for the delete icon from the settings instead

Relates

#383

@lubber-de lubber-de added type/feat Any feature requests or improvements lang/javascript Anything involving JavaScript state/awaiting-reviews Pull requests which are waiting for reviews labels Jan 13, 2019
@lubber-de lubber-de added this to the 2.7.x milestone Jan 13, 2019
Copy link
Member

@ColinFrick ColinFrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@prudho prudho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@y0hami y0hami merged commit bb32ee8 into fomantic:develop Jan 18, 2019
@lubber-de lubber-de removed the state/awaiting-reviews Pull requests which are waiting for reviews label Jan 18, 2019
@lubber-de lubber-de modified the milestones: 2.7.x, 2.7.2 Jan 18, 2019
@lubber-de lubber-de deleted the delete_classname branch February 5, 2019 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/javascript Anything involving JavaScript type/feat Any feature requests or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants