Relative Content

Tag Archive for c#blazor

Updating input field in Blazor

<input value=”@Answer” @oninput=”OnInput” /> Enter any series of digits. If you enter more than two digits, input will be cleared. If you enter ’12’, input will be cleared. Same should happen for 8. I can’t see why it fails. @code { private string Answer = “”; private string input = “”; private string updated = […]

Display Information from database on initial input in my blazor app

When I make an initial scan on an item that doesn’t exist in the table it doesn’t show up as a card on the ui
Only after I scan the item again it shows the card
As soon as I scan an item and choose a reason the card must show up
the context is a redelivery system, when invoiced items get brought back they need to be scanned off for redelivery
I just need help with the logic to display the card on the initial scan of the item

Blazor, session storage and deprecation reference library

While looking into implementing a simple session storage in a Blazor app, I found multiple references to Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage and what appears to be some pretty simple implementations. The problem is that this component is being shown as deprecated in nuget and I can’t find a replacement.