Relative Content

Tag Archive for blazor

inputselect in Blazor 8

I’m learning Blazor 8 and facing an issue:
I have a list of persons. the Person object has an id, a name and an age. I would like to use two dropdown buttons to display or control each other. After selected a name, the age dropdown should display the age of the selected person’s name and vise versa.
I don’t want to use JSRuntime.

Why input do not bind value to variable in this code

I started learning inputs in blazor and when I tried to run some code with it wont work… when I try run this code, it wont write down any errors but when I write down some text in input collum than it wont show up in the …
enter image description here

Generics in Blazor component

I am writing a component that requries a generic parameter to be declared. I do not have my code in the page within a code block, but instead use a partial class.

Communicating with a list of components

The following code snippet does exactly what I expect, which is to provide a list of 3 items that expands to show the numeral for the written number when clicked. My question is whether a Dictionary is the proper way to track the state?