Share via


InputBase<TValue>.IdAttributeValue Property

Definition

Gets the value to be used for the input's "id" attribute.

protected string IdAttributeValue { get; }
member this.IdAttributeValue : string
Protected ReadOnly Property IdAttributeValue As String

Property Value

Remarks

If an explicit "id" is provided via AdditionalAttributes, that value takes precedence. Otherwise, the id is a sanitized version of NameAttributeValue in SSR mode; generated independently in interactive mode.

Applies to