-
Notifications
You must be signed in to change notification settings - Fork 357
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
feat(chips): ability to disable chip removal (input) #615
Conversation
As discussed, if you can add 1 or 2 unit tests that would be awesome! 😄 |
Will do, might take me a bit, need to get into unit testing a little more. |
No worries, we have time until the next release haha |
Merged with develop so it has latest. Also solved the conflicts. |
oh btw, we load the README.md file now in the chip docs. Can you add the property and example into the We should be able to remove all the properties from https://github.com/Teradata/covalent/blob/develop/src/app/components/components/chips/chips.component.ts#L16-L47 since they arent used anymore (forgot to remove them on the other PR) |
Right on @emoralesb05, I can remove the properties and add and example into the chips README.md. Still need unit test for this, correct? |
@JoshSchoen i updated your branch w/ the latest from develop, looking forward to your latest tweaks and getting this merged :) |
66b48db
to
67cf2ee
Compare
@emoralesb05, @kyleledbetter updated the chipRemoval to include unit tests. These are the tests I added, let me know if this is overkill or if you were expecting something else. chip removal usage, requires readOnly to be false: Also updated the README.md and removed the chipAttrs. There were a few conflicts I resolved so let me know if you see anything wonky. |
519be0a
to
67cf2ee
Compare
💥 thanks man! awesome unit tests |
Description
PR to to disable chip removal. readOnly overrides this feature, in order for this feature to work readOnly must be false.
What's included?
Test Steps
General Tests for Every PR
ng serve --aot
still works.npm run lint
passes.npm test
passes and code coverage is not lower.npm run build
still works.Screenshots or link to CodePen/Plunker/JSfiddle