Skip to content

MudBaseInput: Fix expired ParameterView in inherited components#11715

Merged
ScarletKuro merged 1 commit intoMudBlazor:devfrom
GeorgeKarlinzer:fix/inherited-component-with-awaited-on-initialized
Jul 27, 2025
Merged

MudBaseInput: Fix expired ParameterView in inherited components#11715
ScarletKuro merged 1 commit intoMudBlazor:devfrom
GeorgeKarlinzer:fix/inherited-component-with-awaited-on-initialized

Conversation

@GeorgeKarlinzer
Copy link
Contributor

@GeorgeKarlinzer GeorgeKarlinzer commented Jul 26, 2025

Resolve #11605 by saving state of the parameterView before awaiting base SetParametersAsync. I'm 90% sure that it shouldn't brake anything, because I assume that parameterView is readonly, so it doesn't matter when we're saving the state of parameters. But correct me if I wrong.

Checklist:

  • The PR is submitted to the correct branch (dev).
  • My code follows the style of this project.
  • I've added relevant tests or tested on existing ones.

@sonarqubecloud
Copy link

@ScarletKuro ScarletKuro changed the title Fix: Expired ParameterView in inherited components MudBaseInput: Fix expired ParameterView in inherited components Jul 27, 2025
@ScarletKuro ScarletKuro merged commit 6f0475a into MudBlazor:dev Jul 27, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

Inherited Select component: The ParameterView instance can no longer be read because it has expired

3 participants