Change the code for the BindConverter class used on binding so that it's integrated with Dependency injection
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
Hello.
Currently, the default Blazor controls (ex.: InputText, InpuetSelect, etc.) don't play when they're bound to objects (instead of simple properties). The current version ends up delegating to a TypeConverter which is responsible for handling the conversion to and from strings. The problem with this approach is that type converters must have a default parameterless ctor so you cannot use the default dependency injection for injecting eventual dependencies used by the typeconverter.
### Describe the solution you'd like
Create a custom type which allows conversion to be performed and that is integrated with Blazor DI.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.