Skip to content

Add an InputHidden component for Blazor #55720

Open
@gabephudson

Description

@gabephudson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing one

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions