-
Hi, I have a small problem with the HxSearchBox. Can see in the console, that a bad link is generates:
The problem is that the url generates is : and not: Is it a bad configuration in my end? Best, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Also verify you have the |
Beta Was this translation helpful? Give feedback.
-
Ohh actually this is a nested use, so the CprInfoEditor component includes the HxSearchBox (actually just the sample code from documentation).
So maybe that's the reason. Is there a work around for that use case :-) /CU |
Beta Was this translation helpful? Give feedback.
-
Nesting of components should not bring such issues. |
Beta Was this translation helpful? Give feedback.
-
Thank you for pointing me in the right direction :-) The problem was that my _Host.cshtml did not contain the In another solution I could see |
Beta Was this translation helpful? Give feedback.
Nesting of components should not bring such issues.
For Blazor application to work properly, you have to have the
<base ... />
element somewhere in you page.It usually sits in
index.html
,_host.cshtml
or_layout.cshtml
(depending on your setup) and is responsible for correct URL resolution on client-side.