How to capture the parameter values of a component in new variables
I have this component with some parameters that take a value within the same component. What I want is to call the component from another place and there obtain the value of those parameters (not change or assign them, but capture them in new variables) to perform some validations with those values. This is so that a component is initialized by validating in the local storage if there is any key UserMail and if so it captures the value and the idea is to validate and use the component on other pages where at the beginning it is checked if the component contains value in userCorreo and if so, render the pages with that layout My component with parameters:
How to check if Parameter is binded in C# blazor?
I’ve written a component which has 30 or so parameters and would like to automatically setup this component when values are binded.
Blazor – update parameter doesn’t work on 2nd nested child
I’m probably doing something wrong, but I don’t see what I’m missing.