Hi,
I'm wondering if it's possible to have the InputFile.cs line 20 changed to protected instead of private so that it can be used in a derived class which replaces the BuildRenderTree().
|
private ElementReference _inputFileElement; |
The reason this change is necessary is that the elementReference needs to be set during the BuildRenderTree() call for the component to work.
|
builder.AddElementReferenceCapture(3, elementReference => _inputFileElement = elementReference); |
I'm happy to submit a PR with the change, just wondering if there's any concerns I'm not aware of?
Hi,
I'm wondering if it's possible to have the InputFile.cs line 20 changed to
protectedinstead ofprivateso that it can be used in a derived class which replaces theBuildRenderTree().aspnetcore/src/Components/Web/src/Forms/InputFile.cs
Line 20 in e14e5bc
The reason this change is necessary is that the elementReference needs to be set during the
BuildRenderTree()call for the component to work.aspnetcore/src/Components/Web/src/Forms/InputFile.cs
Line 66 in e14e5bc
I'm happy to submit a PR with the change, just wondering if there's any concerns I'm not aware of?