CodeBeamOrg / CodeBeam.MudBlazor.Extensions

Useful third party extension components for MudBlazor, from the contributors.
https://mudextensions.codebeam.org/
MIT License
348 stars 60 forks source link

v7 Migration Guide #371

Open mckaragoz opened 1 month ago

mckaragoz commented 1 month ago

This guide shows the migration basics.

.NET 6 Support Ended

MudExtensions v7 doesn't support .NET 6 any longer (the same on MudBlazor v7). Please migrate at least .NET 7 (.NET 8 is strongly recommended)

MudExtensions.Enums Namespace Removed

There will be no MudExtensions.Enums namespace, so you can use enums easier. If you have some @using MudExtensions.Enums statements, you need to remove them.

Stepper is now StepperExtended

MudBlazor core will have it's own Stepper component. So this extension component has Extended suffix into it's name.

Obsoleted Parameters Removed

Described parameters removed.

MudCodeInput

gabephudson commented 2 days ago

I am testing converting our large application to MB v7 (prerelease 3) and MBE v7 (prerelease 2). I am receiving the following error. (I believe this is because MudButton now has a Title property):

The type 'MudExtensions.MudLoadingButton' declares more than one parameter matching the name 'title'. Parameter names are case-insensitive and must be unique.

mckaragoz commented 2 days ago

I am testing converting our large application to MB v7 (prerelease 3) and MBE v7 (prerelease 2). I am receiving the following error. (I believe this is because MudButton now has a Title property):

The type 'MudExtensions.MudLoadingButton' declares more than one parameter matching the name 'title'. Parameter names are case-insensitive and must be unique.

AndForget changed on preview 3, we should also changed the method to new one.

Didn't see the change of Title parameter on latest preview, but will look ofc

emuuu commented 1 day ago

Here's the change: https://github.com/MudBlazor/MudBlazor/pull/8630

Edit: Tested just removing the property from MudLoadingButton and it worked perfectly fine. Opened a pull request https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/pull/396

gabephudson commented 16 hours ago

Just updated to prerelease 3 and the title issues is now resolved. In addition, the "AndForget" async issue is now resolved.

That said, some controls do not seem to be rendering correctly. Is this a known issue? Here is an example of the password text box... Screenshot

mckaragoz commented 13 hours ago

@gabephudson thanks for info. This is a missing thing on first preview. This only occurs on Text variant, you can use other variants as workaround. Already fixed, will come with next preview.