Skip to content

HorizontalFormSelectTagHelper

StrutTower edited this page Nov 12, 2022 · 2 revisions

Usage

Attributes

Name Required Data Type Description
asp-for Required ModelExpression
asp-items Required Select List
asp-option-label Optional String (default: "") The null or blank option in the select list. Set to null to exclude that option from the select list.
label-col Optional String (default: "col-md-4 col-lg-3") Set the Bootstrap column class for the label
input-col Optional String (default: "col-md-7 col-lg-6") Set the Bootstrap column class for the input
label-name Optional String Overrides the label display name
multiple Optional Boolean (default: false) Sets if the select will allow multiple selected items.

Clone this wiki locally