Add an InputHidden component for Blazor
gabephudson opened this issue · 0 comments
gabephudson commented
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
An "InputHidden" Blazor component is missing.
Describe the solution you'd like
Using SSR Blazor and EditForm more frequently. It would be useful to support an "InputHidden" component that works similar to the other form input components (InputText, InputSelect, etc.). It's odd this is missing.
Currently we have to use HTML to get around this:
<input type="hidden" name="model.Id" @bind-value="model.Id" />
Having a simplified InputHidden component will make model binding easier.
Additional context
No response