Subclassing of Form components doesn't work well #8192
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
Done
This issue has been fixed
Milestone
I tried subclassing EditNumber to implement something similar to this
It doesn't work because the genered code from a razor file calls
base.BuildRenderTree
- you get the rendering of the base class and what you wrote.We should be able to fix this by making it unnecessary for a component to call
base.BuildRenderTree
. In general, it's a good idea if we can avoid extensibility points where an inheritor has to callbase
The text was updated successfully, but these errors were encountered: