-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor - control of repeated component #11261
Comments
Thanks for contacting us, @aiqoo. |
I don't think |
Thanks for the help i want to initialize the callAttemptComponent It is a simple and trivial thing when two components are present on a page using an event I change their state,, @code @foreach (var data in pageModel.list)
{
@code
{
callAttemptComponent callAttemptComponent1;
statusSelectComponent statusSelectComponent1;
}
} |
I solved this by add an instance of component object to the list and then I assigned to each component a reference of its own. The question is whether it has a price in terms of performance and speed, |
I may be asking a dumb question but i need to make sure i'm not missing something here.
In a certain list I have a component that is required to repeat itself in a foreach loop.
I need to control the component in each row seperately, when an operation occurs outside that specific component but in that row.
It can obviously achieved by creating a templated row component but I am trying to determine whether that can be done without creating additional components.
Some Code
The text was updated successfully, but these errors were encountered: