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

Multiple select incompatible with styled items #241

Open
cherrydev opened this issue Jun 10, 2016 · 2 comments
Open

Multiple select incompatible with styled items #241

cherrydev opened this issue Jun 10, 2016 · 2 comments

Comments

@cherrydev
Copy link

If you place HTML inside of the text attribute of the SelectItem it will display the raw HTML code on the selected item when multiple selections are enabled. I recommend a separate template attribute on SelectItem that supports an angular template. The template would be used to render the list items when available and the existing text would be displayed (escaped) as a fallback and for selected items in multiple selection mode.

@rahul71
Copy link

rahul71 commented Sep 12, 2016

We should be able to pass an optional parameter called value along with text. Value would be set as the selected item in case its passed in. Should be an easy change to make. Is the correct way to fork this and modify or ask for access to this project as a contributor and make a change?

@DanielKucal
Copy link
Contributor

Indeed, that's something that should never happen. I think html should be parsed the same way as is in the options. I've created a pull request: #490

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants