Re: [INFO REQ] [LWC] Grid dropdown field typeahead not working
Posted: Wed Nov 16, 2022 7:27 pm
by jinc
Hi Alex,
Thank for the clarification. I have implemented the configuration you provided and it is still the same behavior as before. It does not do the typeahead behavior.
Re: [INFO REQ] [LWC] Grid dropdown field typeahead not working
Posted: Thu Nov 17, 2022 6:59 am
by alex.l
That's weird, we need a full test case since it works well on my end.
Also please make sure you use latest released version.
Please see the video attached, I just used the code I posted to you and it works. So, maybe the problem in something else, we need to check your full application. Check if your cache is cleared, that's the only idea I have at the moment.
Re: [INFO REQ] [LWC] Grid dropdown field typeahead not working
Posted: Tue Nov 29, 2022 10:14 pm
by jinc
Hi Alex,
I have cleared the cache and it is still occurring. This issue is a bit weird because when I investigated it a bit further I noticed that the doFilter method is not being called in filterOnInput when a new character has been typed. When I type a character on the dropdown, it triggers the internalOnInput method and in this function I have access to event.target.value. However, once I pass in the event object to filterOnInput the event.target.value is undefined which causes an error on the next line,inputLen = value.length, which retrieves the length of this value.
Screen Shot 2022-11-29 at 12.13.13 PM.png (328.08 KiB) Viewed 993 times
Re: [INFO REQ] [LWC] Grid dropdown field typeahead not working
Posted: Wed Nov 30, 2022 12:48 pm
by alex.l
Thank you for clarifications!
I found this big reported before https://github.com/bryntum/support/issues/5635
It's not resolved yet, but there is a patch in the ticket that will help you with the problem.