N0mlss
❔ Blazor: Get value of nested component
Lets say the data coming from the db is the following
User
Name: John Doe
City: 4
Then when i pass those datas to the table comp, i would retrieve the city name so it will be a string. But in reality, its not a free choice, since the selection need to come from the database table city. So the select options need to come from the database. In that case it won't be an enum cause we can add or remove available cities as the "application" runs from an admin console. So it cant be an enum
123 replies