Typeahead icon indicating copy to clipboard operation
Typeahead copied to clipboard

[Bug] Typeahead inside Blazored.Modal search text erase with .NET 7.0

Open massimotomasi opened this issue 3 years ago • 3 comments

When using Typeahead inside a https://github.com/Blazored/Modal with .NET 7 the control erase the search text and doesn't perform the search action. Using the control outside the modal works fine.

massimotomasi avatar Nov 22 '22 15:11 massimotomasi

@massimotomasi this sounds like the same issue reported in #288.

Apparently there was a workaround implemented for the latest release of Blazored.Modal - so you may check if you are running the specified version.

I have also opened a PR that should fix this error for good but unfortunately there has not been any action upon this yet.

SSchulze1989 avatar Nov 26 '22 00:11 SSchulze1989

I also stumbled across this bug. if you call the modal component with no parameters or only simple data types (e.g. string) it works fine. If you use a complex parameter (own types or even build in types like StringBuilder) the problem appears. Even if you do not use that parameter in the code of the modal. I will try the fix of @SSchulze1989 now.

Too bad that @chrissainty seems to be dugin somewhere. If you read this, hope you are well! Please show a life sign! :D

horazius77 avatar Feb 09 '23 10:02 horazius77

Apologies for not replying here sooner. I've just added an issue explaining what's going on with this package going forward. But the TLDR is that I don't have time to work on this repo for the forseable future.

https://github.com/Blazored/Typeahead/issues/305.

chrissainty avatar Feb 09 '23 14:02 chrissainty