❔ Blazor @bind not triggering update
Hello everyone
I'm trying to display a select that will trigger a database fetch on select and display the values with Blazor and .NET8. The issue i'm facing is that @bind doesnt seem to update my variable. I also try different things with @onchange, @oninput or @onselect but it seems like it's never firing any function
Obviously I'm missing something here but I can't see what
6 Replies
I should add that LLM have been completely useless and don't see what's wrong
Did you try adding an interactive rendermode, because you currently got a static site as far as I can tell.
I created the template with —interactivity Auto
Does that add the Auto directive to the Routes.blazor ?
Becaus I would have guessed, that that just registers both wasm and sever interactivity in the program.cs
Thanks for your reply. I have this
I added
to my page. and it works now. Thank you so much
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.