-
Notifications
You must be signed in to change notification settings - Fork 914
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
UX problem color #45
Comments
Thanks for reporting. This is known issue and should be fixed soon :) For putting you custom item you can use custom option template. See example https://github.com/ng-select/ng-select#custom-display-and-option-templates |
@GoNode5 custom templates are supported only for single select for now, if that is what you are asking. |
@varnastadeus Option custom templates are supported for both single and multiselect. Label templates are supported only in single select because it is much more complex. Probably we need to document this. |
thnx for all your comments. I'am now using Chosen (jquery plugin), but would like to use native Angular. With Chosen, selected items are grey. Although possible I almost never have to need or I filter disabled options that can't be selected anyway. Or show strikethrough? or make it CSS optional for all 3 options... |
@GoNode5 Regarding colors, current style is provided as baseline and since we can't match everyone's preference we will keep it that way, although there might be some slight changes in the future. If you want, you can customize it yourself e.g. ng-select .as-option.selected {
background-color: red!important;
} I added pull request #49 which fixes issue you mentioned |
* refactor: keep marked item as reference * fix: mark item on hover fixes ng-select#45
Very nice component.
The first selection staying highlighted this is also confusing...
Besides color could/would it possible to to put an Icon 'tick' for the one(s) selected as extra?
The text was updated successfully, but these errors were encountered: