The first problem – your using BlazoredTypeAhead. It’s basically obsolete. It probably has some edge condition code that the Razor pre-compiler doesn’t like. See the info below. The bind code has changed a little since then. I remember having a few issues with my own components.
You either need to pull the repo and do your own fixes, or move to something else.
The second problem – what’s the provenance of DataRangePicker
? Probably similar issues to above.
BlazoredTypeAhead
The Github Repo has this information:
The Nuget Package Information is as follows:
So last updated in 2022 and on Net6.