Closed andipaetzold closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
forma-36 | ✅ Ready (Inspect) | Visit Preview | Nov 4, 2024 5:28pm |
Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
---|---|---|---|---|
CommonJS | 112.03 KB (0%) | 2.3 s (0%) | 402 ms (+22.12% 🔺) | 2.7 s |
Module | 110.84 KB (0%) | 2.3 s (0%) | 509 ms (+36.83% 🔺) | 2.8 s |
Latest commit: d6464bb728eaac39499c891263dc8aa113378143
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
E.g. when an option with the label
Apple
is rendered while the search value isLemon
. Currently, the multiselect item is rendered without any label - only the checkbox. With this PR, the option option label is rendered without any highlighting.
Wouldn't it render the no matches message?
E.g. when an option with the label
Apple
is rendered while the search value isLemon
. Currently, the multiselect item is rendered without any label - only the checkbox. With this PR, the option option label is rendered without any highlighting.Wouldn't it render the no matches message?
That message is only shown when no item matches at all.
Purpose of PR
Handles two edge cases:
E.g. when an option with the label
Apple
is rendered while the search value isLemon
. Currently, the multiselect item is rendered without any label - only the checkbox. With this PR, the option option label is rendered without any highlighting.Currently, when an option has the label
Apple
and the search value ispp
(not the white space) only the checkbox is rendered without any text. With the fix mentioned above,Apple
is rendered without any highlighting. By internally trimming the search value,Apple
is rendered withpp
highlighted.PR Checklist
readme.md
file(s)