Skip to content
IzzyBlazor 0.1.0-alpha.17

Enter all results ↑ ↓ move Esc close

Troubleshooting

An empty selection comes back with its defaults

Unchecked boxes post nothing, so after a static post the model gets its defaults back, or null.

A form's post fails or arrives empty

A static post finds its form and model by name: FormName on the form, the same name on the model.

OnClick does nothing on a static page

A static page has no connection to run C# on a click: post a form or follow a link instead.

A value resets on the next request

A static page is built afresh for every request: keep what it needs in the address, or post it.

The password is empty after a failed post

A static page doesn't write a password back into its HTML, so the reader types it again.

Code runs after NavigateTo, or the post doesn't redirect

NavigateTo doesn't always stop your code: make it the last line or return after it, and keep it out of try/catch.

A form posts to [object RadioNodeList]

A control named action, method or enctype hides the form's own property from Blazor's script.

Interactive parts stop responding in production

An interactive page's circuit lives on one server: behind a load balancer, turn on sticky sessions, or run one server.