Skip to content
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

Breaking change in version 6 #420

Open
peterM opened this issue Nov 29, 2024 · 1 comment
Open

Breaking change in version 6 #420

peterM opened this issue Nov 29, 2024 · 1 comment

Comments

@peterM
Copy link

peterM commented Nov 29, 2024

Hello.

I have problem to execute code after package update to version 6.

Before version 6 I was able to use inside ReadComponent

var component = new GridUpdateComponent<MyItemType>()
    {
        Item = Item
    };

await GridComponent.UpdateItem(component);

After I upgraded version to 6 it is not possible.
I tried, but it throws exception regarding IJSRuntime

var component = new GridUpdateComponent<MyItemType>()
    {
        Item = Item
    };

GridComponent<MyItemType> c = new GridComponent<MyItemType>();
await c.UpdateItem(component);

Do you know what is the new way how to do it ?

Thanks

EDIT:

For now I solved this problem by creating my new component with "also" [CascadingParameter] of GridComponent property.

@gustavnavar
Copy link
Owner

Hello,

GridBlazor 6.0.1 should work for you.

Best!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants