Skip to content

Support rich labels in SearchSuggestions#366

Open
BastianLedererIcinga wants to merge 1 commit intomainfrom
feature/rich-suggestion-labels
Open

Support rich labels in SearchSuggestions#366
BastianLedererIcinga wants to merge 1 commit intomainfrom
feature/rich-suggestion-labels

Conversation

@BastianLedererIcinga
Copy link
Copy Markdown
Contributor

Allow providers of SearchSuggestions to pass ValidHtml via a label-html key, which is rendered inside a button element.
The regular label remains unchanged because it is still used to set the value attribute, so if html was included it would end up in the input field of the TermInput when the suggestion is selected with the arrow keys.

Two css selectors are adjusted to have increased specificity to prevent the buttons from being styled by icingaweb2, when used inside a .icinga-controls element.

resolve #364

Allow `ValidHtml` to be passed via the `label-html` key
which is then rendered inside a `button` element.

css selectors are adjusted to have increased specificity
because otherwise the button elements are styled by icingaweb2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support rich labels in \ipl\Web\FormElement\SearchSuggestions

1 participant