Question: why FluentInputBase.cs and not Blazor's InputBase.cs?
See original GitHub issueJust found out about the existence of this package today. I think it’s pretty cool as it makes it simpler to adopt the FAST Fluent components in a Blazor project 😃.
Navigating through the code it came to my attention the fact that all input-like components (for ex. FluentTextField) derive from a FluentInputBase.cs (link), which is almost an exact, line-by-line duplicate of Blazor’s InputBase.cs (link) base class for input elements. I was wondering what was the reason for this divergence? Is the plan to eventually make all input components in this package derive from the latter?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Allow FieldIdentifier to be passed to InputBase and ...
The unfortunate part here is that TValue needs to be specified and has to be compile time expression for the generated code to...
Read more >InputBase.cs - dotnet/aspnetcore
NET framework for building modern cloud-based web applications on Windows, Mac, or Linux. - aspnetcore/src/Components/Web/src/Forms/InputBase.cs at main ...
Read more >How to override InputBase<T> Value in Blazor, in order to ...
The only workaround I found at the moment is to copy the source code of InputBase.cs into a custom class InputBaseVirtual.cs and then...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

With .NET 6 the requirement for an EditContext is no longer there (https://github.com/dotnet/aspnetcore/commit/afacc8740c40bf465da9b9a34914a2d88d243b3c). We should change to derive from InputBase
Closing this since I think we answered the question. We can revisit code changes at a later point based on future Blazor releases.