-
Notifications
You must be signed in to change notification settings - Fork 20
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
added remove all on select #816
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality looks good. I had one additional suggestion and a comment on tests.
projects/go-lib/src/lib/components/go-select/go-select.component.ts
Outdated
Show resolved
Hide resolved
projects/go-lib/src/lib/components/go-select/go-select.component.spec.ts
Outdated
Show resolved
Hide resolved
projects/go-lib/src/lib/components/go-select/go-select.component.spec.ts
Outdated
Show resolved
Hide resolved
projects/go-lib/src/lib/components/go-select/go-select.component.spec.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one more comment, but if you can address that I'll approve and we can get a new version ready.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
When a lot of results are selected, the "clear all" button appears way down the page in an unusual position.
What is the new behavior?
This adds a "remove all" button at the top of the select dropdown when items are selected to allow a user to easily remove all options when lots are selected.
Does this PR introduce a breaking change?