-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
fix: improve the MultiSelect component #1645
Comments
HellWolf93
added a commit
to HellWolf93/react-rainbow
that referenced
this issue
Jun 25, 2020
1 task
1 task
1 task
1 task
1 task
1 task
1 task
1 task
1 task
LeandroTorresSicilia
added a commit
that referenced
this issue
Jun 29, 2020
* fix: improve the MultiSelect component fix: #1645 * fix: add counter and use truncated text * fix: uncheck item when selected and clicked * fix: render uncheck icon when active or hover while selected * fix: rename hasChips to hasContent * fix: minor refactor on MultiSelect component * fix: add right margin to StyledCountText when readOnly * fix: improve getContent function readability * fix: hide remove button from chip when readOnly and only one chip * docs: add readOnly example to MultiSelect component * fix: refactor chips delete callback handling * fix: move value declaration outside of example component * fix: show uncheck icon in Option only when multiple * fix: integration tests * fix: pageObject methods comments Co-authored-by: Jose Leandro Torres <jtorressicilia@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requirements
Design
https://zpl.io/awROBBK
Specs
readOnly
readOnly
readOnly
variant
prop should receive the valuesdefault
|chip
with thedefaultValue
todefault
(the default variant should look like the example 4)isBare
propboolean
that should look like the example 6variant
isdefault
it should render the text only on one line and show...
when it is larger than the containervariant
isdefault
it should render a counter with the amount selectedhover
oractive
one options selected it should render anX
instead of the✔️
clicking
or press theenter
key on a selected option it should unselect the option and close the dropdownTests
(We need to add tests for the new implementation)
The text was updated successfully, but these errors were encountered: