Comments (7)
I just started to test it and I found this and the previous one, I'll wait for your fix to keep using this feature, thanks!
from choc-autocomplete.
I've found a lot of bugs, while looking at this. One being if the value is not same as innerText, there's trouble. I'll try to fix this soon.
from choc-autocomplete.
Hi @gepd. Regarding the bug I talked about, what's happening is the filter only checks the value, not the text passed to Item
component. I initially made it this way for, items that rendered whole components. What do you think of accepting a label prop, that is also filtered, or if you have a better way of addressing it.
from choc-autocomplete.
By the way, I'm unable to reproduce this issue
from choc-autocomplete.
Hi @gepd. Regarding the bug I talked about, what's happening is the filter only checks the value, not the text passed to
Item
component. I initially made it this way for, items that rendered whole components. What do you think of accepting a label prop, that is also filtered
Yes that sound great to me
By the way, I'm unable to reproduce this issue
I tried again in a clean install (next.js) and yes, I don't see the duplication problem anymore, I'll check my first code to see where is the problem.
The second one, when the FixedItem
does not show up inside a AutoCompleteGroup
keep happening, I would like wrap it mostly to add a way to separate the fixed items from the Items
from choc-autocomplete.
The second one, when the
FixedItem
does not show up inside aAutoCompleteGroup
keep happening, I would like wrap it mostly to add a way to separate the fixed items from theItems
Hi @gepd , I don't understand this.
from choc-autocomplete.
I mean, this does not work
<AutoCompleteList>
<AutoCompleteGroup title="Title" showDivider>
<AutoCompleteItem value="1">Apple</AutoCompleteItem>
<AutoCompleteItem value="2">Appoint</AutoCompleteItem>
</AutoCompleteGroup>
<AutoCompleteGroup title="Title2" showDivider>
<AutoCompleteFixedItem value="F1">Fixed Item 1</AutoCompleteFixedItem>
<AutoCompleteFixedItem value="F2">Fixed Item 2</AutoCompleteFixedItem>
</AutoCompleteGroup>
</AutoCompleteList>
from choc-autocomplete.
Related Issues (20)
- Why has react-nanny become a peer-dependency? HOT 1
- Contribution instructions should use npm HOT 1
- Reset items after submission HOT 5
- tabbing out of autocomplete input selects the focused item in multiple mode HOT 2
- Filling the component programmatically HOT 2
- Last selected item in multi-select autocomplete prefills input on external click HOT 4
- The `value` prop does nothing HOT 2
- bug: setting AutocompleteItems dynamically via state does not trigger a re-render, only after refocus rendered HOT 2
- Pressing enter when the autocomplete text box is closed selects the first entry, even when freeSolo is true HOT 2
- Named export error HOT 7
- Weird query behavior HOT 1
- How to remove Pop Over "No Results Found" HOT 4
- How to reset this single-select Autocomplete component? HOT 7
- Help with custom filter HOT 1
- Autocomplete is showing a match if the 7 last char are equal even if the "x" other are not HOT 4
- Expose Chakra Popover 'matchWidth' prop HOT 1
- Keyboard navigation causes window to scroll in some configurations HOT 3
- Styling of 'No options found!' message HOT 2
- Issue with pre focusing first item after the list changes HOT 4
- Is there a way to list all when calling `onOpen`? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from choc-autocomplete.