@using System.Linq.Expressions
@code {
///
/// Gets or sets the ID of the input field.
///
[Parameter]
public required string Id { get; set; }
///
/// Gets or sets the value of the input field.
///
[Parameter]
public required string Value { get; set; }
///
/// Gets or sets the event callback that is triggered when the value changes.
///
[Parameter]
public required EventCallback ValueChanged { get; set; }
///
/// Gets or sets the expression that identifies the value property.
///
[Parameter]
public required Expression> ValueExpression { get; set; }
///
/// Gets or sets the placeholder text for the input field.
///
[Parameter]
public required string Placeholder { get; set; }
///
/// Gets or sets additional attributes for the input field.
///
[Parameter(CaptureUnmatchedValues = true)]
public Dictionary? AdditionalAttributes { get; set; } = new();
}