DeepWorks Studios Blazor Component Library

Demo user Administrator ยท Blazor Server Library 20261206222504-6e8ff32.dirty

DwsSelect

Two components: DwsSelect<T> takes a data-driven Options list and renders the styled combobox (search, keyboard navigation, chips, virtualization, groups, per-option tooltips and disabled state). DwsNativeSelect<T> takes <option> / <DwsSelectOption> children and renders the browser's own <select> (the operating system's picker on a phone). A DwsSelect with child content still renders the native select exactly as before; that use is marked obsolete in favour of DwsNativeSelect, which has the same parameters and markup.

Obsolete: DwsSelect with child content. A DwsSelect that is given <option> / <DwsSelectOption> children still renders the browser's native select, and logs one warning per application. Use DwsNativeSelect<T> for that - same parameters, same markup - or pass Options to DwsSelect for the styled combobox. The native examples on this page use DwsNativeSelect.

DwsNativeSelect in the API reference
API Reference

Native select: data types (DwsNativeSelect)

DwsNativeSelect renders the browser's select from child options; the same generic works with string, int, DateTime and enum values. The sections down to Multi-Select use it.

Show Code
Select.razor

<DwsNativeSelect Name='SelectDemo_String' T='string' @ref='_firstElementReference' @bind-Value='@_selectStringValue' Label='Strings'>
    <DwsSelectOption Name='SelectDemo_String_Option01' Value='@("Dinosaurs")'>Dinosaurs</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_String_Option02' Value='@("Humans")'>Humans</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_String_Option03' Value='@("Animals")'>Animals</DwsSelectOption>
</DwsNativeSelect>

<DwsNativeSelect Name='SelectDemo_Int' T='int' @bind-Value='@_selectIntValue' Label='Integer'>
    <DwsSelectOption Name='SelectDemo_Int_Option01' Value='1'>First</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_Int_Option02' Value='2'>Second</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_Int_Option03' Value='3'>Third</DwsSelectOption>
</DwsNativeSelect>

<DwsNativeSelect Name='SelectDemo_Date' T='DateTime' @bind-Value='@_selectDateValue' Label='Dates'>
    @for (int i = 0; i < _dates.Count; i++)
    {
        <DwsSelectOption Name='@("SelectDemo_Date_Option" + i)' Value='@_dates[i]'>@_dates[i].ToString("dd.MM.yyyy")</DwsSelectOption>
    }
</DwsNativeSelect>

<DwsNativeSelect Name='SelectDemo_Enum' T='DwsButtonGroupMode' @bind-Value='@_selectEnum' Label='Enum'>
    <DwsSelectOption Name='SelectDemo_Enum_Option01' Value='DwsButtonGroupMode.None'>None</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_Enum_Option02' Value='DwsButtonGroupMode.SingleToggle'>SingleToggle</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_Enum_Option03' Value='DwsButtonGroupMode.MultipleToggle'>MultipleToggle</DwsSelectOption>
</DwsNativeSelect>
Select.razor.cs
// See this component's code-behind for the backing fields used in these examples.

Readonly

Readonly actively blocks and reverts user-driven changes instead of doing nothing.

Show Code
Select.razor

<DwsNativeSelect Name='SelectDemo_Readonly' T='string' Label='Readonly' @bind-Value='@_selectReadonlyValue' Readonly='true'>
    <DwsSelectOption Name='SelectDemo_Readonly_Option01' Value='@("Dinosaurs")'>Dinosaurs</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_Readonly_Option02' Value='@("Humans")'>Humans</DwsSelectOption>
</DwsNativeSelect>
Select.razor.cs
// See this component's code-behind for the backing fields used in these examples.

Disabled

Disabled shows the value but takes no input.

Show Code
Select.razor

<DwsNativeSelect Name='SelectDemo_Disabled' T='string' Label='Disabled' @bind-Value='@_selectReadonlyValue' Disabled='true'>
    <DwsSelectOption Name='SelectDemo_Disabled_Option01' Value='@("Dinosaurs")'>Dinosaurs</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_Disabled_Option02' Value='@("Humans")'>Humans</DwsSelectOption>
</DwsNativeSelect>
Select.razor.cs
// See this component's code-behind for the backing fields used in these examples.

Placeholder

Shown when no value is selected. Without a placeholder an empty value shows the first option, while the bound value stays null.

Show Code
Select.razor

<DwsNativeSelect Name='SelectDemo_Placeholder' T='string' Label='Favorite animal' Placeholder='Pick one...' @bind-Value='@_selectPlaceholderValue'>
    <DwsSelectOption Name='SelectDemo_Placeholder_Option01' Value='@("Dinosaurs")'>Dinosaurs</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_Placeholder_Option02' Value='@("Humans")'>Humans</DwsSelectOption>
</DwsNativeSelect>

<DwsNativeSelect Name='SelectDemo_NoPlaceholder' T='string' Label='No value, no placeholder' @bind-Value='@_selectNoValue'>
    <DwsSelectOption Name='SelectDemo_NoPlaceholder_Option01' Value='@("Alpha")'>Alpha</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_NoPlaceholder_Option02' Value='@("Beta")'>Beta</DwsSelectOption>
</DwsNativeSelect>
<DwsTypography Name='SelectDemo_NoValue_Bound' Typography='DwsTypographyType.Paragraph'>Bound value: <strong>@(_selectNoValue ?? "null")</strong></DwsTypography>
Select.razor.cs
private string? _selectPlaceholderValue;
private string? _selectNoValue;

Multi-Select

IsMultiple with DwsSelectOption children renders a native multi-select. For chips and search pass the options through Options instead (next section).

Show Code
Select.razor

<DwsNativeSelect Name='SelectDemo_MultiSelect' T='string' Label='Multi-select' IsMultiple='true' @bind-Values='@_multiSelectValues'>
    <DwsSelectOption Name='SelectDemo_MultiSelect_Option01' Value='@("Option1")'>Option 1</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_MultiSelect_Option02' Value='@("Option2")'>Option 2</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_MultiSelect_Option03' Value='@("Option3")'>Option 3</DwsSelectOption>
</DwsNativeSelect>

<DwsTypography Name='SelectDemo_MultiSelect_Selected' Typography='DwsTypographyType.Paragraph'>Selected: @string.Join(", ", _multiSelectValues)</DwsTypography>
Select.razor.cs
// See this component's code-behind for the backing fields used in these examples.

Keyboard Navigation

ArrowUp/ArrowDown move the highlight, Home/End jump to the ends, typing letters jumps via type-ahead, Enter/Space selects, Escape closes.

Focus the field above and try it.

Show Code
Select.razor

<DwsSelect Name='SelectDemo_Keyboard' T='string' Label='Keyboard navigation' Options='@_countryOptions' @bind-Value='@_countryValue' />
<DwsTypography Name='SelectDemo_Keyboard_Hint' Typography='DwsTypographyType.Paragraph'>Focus the field above and try it.</DwsTypography>
Select.razor.cs
// See this component's code-behind for the backing fields used in these examples.

Option Groups

Options sharing a Group are rendered under a common header.

Show Code
Select.razor

<DwsSelect Name='SelectDemo_Groups' T='string' Label='Grouped options' Options='@_groupedOptions' @bind-Value='@_groupedValue' />
Select.razor.cs
// See this component's code-behind for the backing fields used in these examples.

Disabled Options

Works through both the Options data model and the DwsSelectOption.Disabled parameter of DwsNativeSelect.

Show Code
Select.razor

<DwsSelect Name='SelectDemo_DisabledOptions' T='string' Label='Some options disabled' Options='@_withDisabledOptions' @bind-Value='@_disabledOptionsValue' />

<DwsNativeSelect Name='SelectDemo_DisabledOptionLegacy' T='string' Label='Same, via ChildContent'>
    <DwsSelectOption Name='SelectDemo_DisabledOptionLegacy_Option01' Value='@("Dinosaurs")'>Dinosaurs</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_DisabledOptionLegacy_Option02' Value='@("Humans")' Disabled='true'>Humans (disabled)</DwsSelectOption>
    <DwsSelectOption Name='SelectDemo_DisabledOptionLegacy_Option03' Value='@("Animals")'>Animals</DwsSelectOption>
</DwsNativeSelect>
Select.razor.cs
// See this component's code-behind for the backing fields used in these examples.

Helper Text and Long Labels

HelperText (or HelperContent with markup) puts a line of help under DwsNativeSelect and DwsSelect, linked to the field with aria-describedby. A label the field is too narrow for ends in an ellipsis; from 16 characters on it carries its full text as title, and its accessible name is always the full text.

Used for new projects. Strict blocks every prompt with a finding; Balanced only high-risk ones.
Changes apply to new results only.
Show Code
Select.razor
<DwsNativeSelect Name="SelectDemo_HelperProfile" T="string" Label="Default scan profile" @bind-Value="@_scanProfile"
                 HelperText="Used for new projects. Strict blocks every prompt with a finding; Balanced only high-risk ones.">
    <DwsSelectOption Name="SelectDemo_HelperProfile_Strict" Value=@("strict")>Strict</DwsSelectOption>
    <DwsSelectOption Name="SelectDemo_HelperProfile_Balanced" Value=@("balanced")>Balanced</DwsSelectOption>
    <DwsSelectOption Name="SelectDemo_HelperProfile_Audit" Value=@("audit")>Audit only</DwsSelectOption>
</DwsNativeSelect>

@* Too long for the field: cut with an ellipsis, the full text in title and in the accessible name. *@
<DwsSelect Name="SelectDemo_HelperResidency" T="string" Label="Country where scan results are stored"
           Options="@_countryOptions" @bind-Value="@_residencyCountry">
    <HelperContent>Changes apply to new results only.</HelperContent>
</DwsSelect>
Select.razor.cs
private string? _scanProfile = "balanced";
private string? _residencyCountry;

private readonly List<DwsSelectOptionData<string>> _countryOptions =
[
    new() { Value = "de", Text = "Germany" },
    new() { Value = "fr", Text = "France" },
    // ...
];

Interface-Description

Name Typ Parameters Description
ClearValueAsync Task<bool> Empties a Clearable single selection, as its clear button does. Returns whether a value was cleared (false without a value, without Clearable, for a multiple selection, or while disabled / read-only).
RemoveValueAsync Task T value Removes one value from a multiple selection, as the remove button of its chip does. Raises ValuesChanged.
ClearValuesAsync Task Removes every value of a multiple selection, as the clear button after the chips does. Raises ValuesChanged.
ReloadOptionsAsync Task Asks OptionsProvider again with the current search text.
Name Typ Default Description
Value T? default The current value, two-way bindable via @bind-Value.
SelectedIndex int? null The index of the selected option; two-way bindable via @bind-SelectedIndex.
Values List<T>? [] The selected values when IsMultiple is true.
IsMultiple bool false Renders a multi-select instead of a single-select: a native one with DwsSelectOption children, a popup list with chips when Options is set.
ShowChips bool? null Shows a multiple selection as chips with a remove button each, instead of one comma-joined text. Needs IsMultiple and Options. null (the default) shows chips whenever both are set; false keeps the plain text.
MaxVisibleChips int? null The most chips shown; the rest is summed up in a '+n' chip that lists them in its tooltip. null shows all.
ShowClearAllButton bool true Shows a button after the chips that removes every selected value at once.
Clearable bool false Shows a clear button in the field for a single selection from Options (a small DwsCloseButton with a 44px touch target; it is no tab stop and keeps the focus in the field); Delete or Backspace on the closed field clear as well. Needs a T that can be null (reference type or nullable value type). Not shown while disabled or read-only. A multiple selection uses ShowClearAllButton.
Options IReadOnlyList<DwsSelectOptionData<T>>? null Data-driven option source. Enables the custom popup, search, keyboard navigation and virtualization. When null, the legacy ChildContent/DwsSelectOption API is used instead.
StartIcon string? null An icon at the start of the field, before the value. Options / OptionsProvider path only.
EndIcon string? null An icon at the end of the field, after the value and before the clear button. Options / OptionsProvider path only.
StartContent RenderFragment? null Any markup at the start of the field, after StartIcon. Options / OptionsProvider path only.
EndContent RenderFragment? null Any markup at the end of the field, before EndIcon. Options / OptionsProvider path only.
ShowSelectedOptionAdornments bool true Shows the selected option's StartIcon / StartContent and EndIcon / EndContent in the field next to its text (single selection without chips).
ChildContent RenderFragment default! Obsolete: child options render the browser's native select. Use DwsNativeSelect (same parameters and markup) for that.
Label string "" The floating label.
HelperText string? null A line of help under the field (a unit, a range, what the value does), linked with aria-describedby. Keeps a long explanation out of the floating label.
HelperContent RenderFragment? null Help under the field as markup (a link, emphasis); replaces HelperText. A floating label of 16 or more characters carries its full text as title, so a label the field cuts with an ellipsis can still be read; its accessible name is always the full text.
Placeholder string? null Text shown when nothing is selected.
Tooltip string "" A static tooltip shown on hover.
DynamicTooltip Func<T?, string>? null Computes the tooltip from the current value; also checked against the selected Options entry's own Tooltip.
TooltipPosition DwsTooltipPosition Top Kept so existing markup still compiles: the tooltip is the browser's native title, which has no position.
Readonly bool false Blocks and reverts user-driven selection changes.
EnableSearch bool false Shows a search box in the Options popup: a dense DwsInput that is the combobox of the list while it is open (arrow keys move, Enter picks, Escape closes; its keys stop at the box). Typing a letter on the closed field opens the list and starts the search with it.
SearchMode DwsSelectSearchMode Contains How EnableSearch matches option text (Contains/StartsWith/Custom).
Haptic DwsHapticFeedback DwsHapticFeedback.Selection Tactile feedback of a tap on an option of the Options list while the app has haptics switched on; played inside the tap, so also on iOS. Not played on a disabled option or while read-only.
SearchPlaceholder string? null Overrides the search box's placeholder.
CustomSearch Func<DwsSelectOptionData<T>, string, bool>? null Used when SearchMode is Custom.
EnableVirtualization bool false Virtualizes the Options popup's list past VirtualizationThreshold.
VirtualizationItemHeight float 34 Row height (px) used by virtualization.
VirtualizationThreshold int 50 Minimum filtered option count before virtualization kicks in.
Width int? null The select's width.
MinWidth int? null The select's minimum width.
MaxWidth int? null The select's maximum width.
Height int? null The select's height.
MaxHeight int? null The select's maximum height.
MinHeight int? null The select's minimum height.
OptionsProvider Func<string, CancellationToken, Task<IEnumerable<DwsSelectOptionData<T>>>>? null Loads the options asynchronously instead of taking them from Options: asked with an empty text when the list opens and, with EnableSearch, with the typed text after OptionsDebounceMilliseconds (the provider filters). The list shows loading, error (with 'Try again'; Enter retries too) and empty states. The token is canceled by a newer request, by closing the list and on dispose.
OptionsDebounceMilliseconds int 300 Delay after the last keystroke in the search box before OptionsProvider is asked.
SelectedOption DwsSelectOptionData<T>? null The option of the current Value, for its text and tooltip while the provider has not loaded it.
SelectedOptions IReadOnlyList<DwsSelectOptionData<T>>? null The options of the current Values of a multiple selection, as SelectedOption for a single one.
ValueText string? null The text shown for the current Value when no loaded or remembered option has it - the short form of SelectedOption.
ValueExpression Expression<Func<T?>>? null The bound field, set by @bind-Value. Gives the select its name (Model.Country) for a statically rendered form; with Options, static SSR renders a native select.
ValuesExpression Expression<Func<List<T>?>>? null The bound list of a multiple selection, set by @bind-Values. Names the multiple select.
Name Typ Description
ValueChanged EventCallback<T?> Fires when the value changes.
SelectedIndexChanged EventCallback<int?> Fires when the selected index changes.
ValuesChanged EventCallback<List<T>?> Fires when the multi-select values change.
OnBeforeValueChanged EventCallback<T?> Fires before the value changes.
OnAfterValueChanged EventCallback<T?> Fires after the value changes.
OnNameValueChanged EventCallback<(T?, string)> Fires with the new value and the component's Name.
OnKeyUp EventCallback<KeyboardEventArgs> Fires on keyup.
OnKeyDown EventCallback<KeyboardEventArgs> Fires on keydown.
OnLostFocus EventCallback<FocusEventArgs> Fires when focus leaves the component.
OnOpen EventCallback Fires when the Options popup opens.
OnClose EventCallback Fires when the Options popup closes.
OnOptionSelected EventCallback<DwsSelectOptionData<T>> Fires with the full option data whenever an Options popup entry is picked.
OnCleared EventCallback Fires after a Clearable single selection was emptied (clear button, Delete / Backspace, ClearValueAsync). ValueChanged and SelectedIndexChanged fire with null before it.
OnOptionsLoadFailed EventCallback<Exception> Raised when OptionsProvider failed.
Name Typ Default Description
Element ElementReference The associated web component. May be null if accessed before the component is rendered.
ComponentGuid Guid Unique identifier for the component.
TypeString string The name of the component type, obtained from reflection.
Authorized_RegisterEnabled bool false Indicates whether this component is enabled through a permission registry.
Authorized_RegisterSelected bool false Indicates whether this component is selected in permission selection mode.
GetInitializedState bool false Returns whether the component is initialized.
GetRenderModeState DwsRenderMode Returns the current render mode.
GetComponentState DwsComponentStateType Returns the current component state.
GetIsInteractiveState bool false Returns whether the component is interactive.
GetIsPrerenderingState bool false Returns whether the component is prerendering.
GetComponentLoadingState bool false Returns whether the component is loading.
IsFormBusy bool false Whether the DwsForm (or DwsFormBusyRegion) around the component is locked because its submit handler is running. The state itself is the cascaded FormBusyState (IDwsFormBusyState).
Name Typ Parameters Description
DebugInfo void Logs debug information about the component.
UpdateState void Updates the component's state and triggers StateHasChanged.
UpdateStateAsync Task Asynchronously updates the component's state and triggers StateHasChanged.
Dispose void Disposes the component and releases resources.
FocusAsync ValueTask bool containedInScrollableList Sets focus to the component's element.
Name Typ Default Description
Name string Required unique identifier for the component within its container.
Visible bool true Determines if the component is visible in the UI.
Disabled bool false Disables the form control, ensuring it doesn't participate in form submission.
ComponentNameSpace string The namespace for permission-based access control.
PermissionKey string? null A stable key that takes the place of Name in the generated permission namespace (Page.PermissionKey): the stored permission survives a rename, and components that share a key share one permission entry. Null: keyed by Name. Read once, when the component registers; an explicit ComponentNameSpace wins.
Class string Optional CSS class names.
Style string Optional in-line styles.
Tag object An optional user-defined object to store any additional data with the component.
BackReference DwsReference A reference to the enclosing component.
ID string The HTML ID attribute for the component.
AdditionalAttributes Dictionary<string, object> Additional HTML attributes for the component's root element.
IgnorePermissionChecks bool false Bypasses all permission checks for this component.
IgnorePermissionSelection bool false Ignore permission selection mode for this component.
IgnoreFormBusy bool false Takes the component out of the submit lock of the DwsForm (or DwsFormBusyRegion) around it: IsFormBusy stays false for it.
Name Typ Description
OnInitializedCallbackStarted EventCallback Callback when OnInitialized starts.
OnInitializedCallback EventCallback Callback during OnInitialized.
OnInitializedCallbackCompleted EventCallback Callback when OnInitialized completes.
OnInitializedAsyncCallbackStarted EventCallback Callback when OnInitializedAsync starts.
OnInitializedAsyncCallback EventCallback Callback during OnInitializedAsync.
OnInitializedAsyncCallbackCompleted EventCallback Callback when OnInitializedAsync completes.
OnIsComponentLoadingChanged EventCallback<bool> Callback when IsComponentLoading changes.
OnCurrentRenderModeChanged EventCallback<DwsRenderMode> Callback when CurrentRenderMode changes.
OnComponentStateChanged EventCallback<DwsComponentStateType> Callback when ComponentState changes.

DwsNativeSelect

Interface-Description

Name Typ Parameters Description
FocusAsync ValueTask Moves focus to the select.
Name Typ Default Description
Value T? default The current value, two-way bindable via @bind-Value. Option values are read as text: string, enum (by name) or anything Convert.ChangeType reads invariantly.
SelectedIndex int? null The index of the selected option; two-way bindable via @bind-SelectedIndex.
Values List<T>? [] The selected values when IsMultiple is true.
IsMultiple bool false Renders <select multiple> (a list box) and reports through Values.
ChildContent RenderFragment default! The options: <option>, <optgroup> or <DwsSelectOption> elements.
Label string "" The floating label.
HelperText string? null A line of help under the field (a unit, a range, what the value does), linked with aria-describedby. Keeps a long explanation out of the floating label.
HelperContent RenderFragment? null Help under the field as markup (a link, emphasis); replaces HelperText. A floating label of 16 or more characters carries its full text as title, so a label the field cuts with an ellipsis can still be read; its accessible name is always the full text.
Placeholder string? null Shown as a hidden, disabled first option while nothing is selected.
Tooltip string "" A static tooltip shown on hover.
DynamicTooltip Func<T?, string>? null Computes the tooltip from the current value; takes priority over Tooltip.
TooltipPosition DwsTooltipPosition Top Kept so existing markup still compiles: the tooltip is the browser's native title, which has no position.
Readonly bool false Blocks and reverts user-driven selection changes.
Width / MinWidth / MaxWidth int? null Width limits in pixels.
Height / MinHeight / MaxHeight int? null Height limits in pixels.
Name Typ Description
ValueChanged EventCallback<T?> Fires when the value changes.
SelectedIndexChanged EventCallback<int?> Fires when the selected index changes.
ValuesChanged EventCallback<List<T>?> Fires when the multiple selection changes.
OnBeforeValueChanged EventCallback<T?> Fires before the value changes, with the old value.
OnAfterValueChanged EventCallback<T?> Fires after the value changed.
OnNameValueChanged EventCallback<(T?, string)> Fires with the new value and the component's Name.
OnKeyUp / OnKeyDown EventCallback<KeyboardEventArgs> Key events of the select.
OnLostFocus EventCallback<FocusEventArgs> Fires when focus leaves the select.
Name Typ Default Description
Element ElementReference The associated web component. May be null if accessed before the component is rendered.
ComponentGuid Guid Unique identifier for the component.
TypeString string The name of the component type, obtained from reflection.
Authorized_RegisterEnabled bool false Indicates whether this component is enabled through a permission registry.
Authorized_RegisterSelected bool false Indicates whether this component is selected in permission selection mode.
GetInitializedState bool false Returns whether the component is initialized.
GetRenderModeState DwsRenderMode Returns the current render mode.
GetComponentState DwsComponentStateType Returns the current component state.
GetIsInteractiveState bool false Returns whether the component is interactive.
GetIsPrerenderingState bool false Returns whether the component is prerendering.
GetComponentLoadingState bool false Returns whether the component is loading.
IsFormBusy bool false Whether the DwsForm (or DwsFormBusyRegion) around the component is locked because its submit handler is running. The state itself is the cascaded FormBusyState (IDwsFormBusyState).
Name Typ Parameters Description
DebugInfo void Logs debug information about the component.
UpdateState void Updates the component's state and triggers StateHasChanged.
UpdateStateAsync Task Asynchronously updates the component's state and triggers StateHasChanged.
Dispose void Disposes the component and releases resources.
FocusAsync ValueTask bool containedInScrollableList Sets focus to the component's element.
Name Typ Default Description
Name string Required unique identifier for the component within its container.
Visible bool true Determines if the component is visible in the UI.
Disabled bool false Disables the form control, ensuring it doesn't participate in form submission.
ComponentNameSpace string The namespace for permission-based access control.
PermissionKey string? null A stable key that takes the place of Name in the generated permission namespace (Page.PermissionKey): the stored permission survives a rename, and components that share a key share one permission entry. Null: keyed by Name. Read once, when the component registers; an explicit ComponentNameSpace wins.
Class string Optional CSS class names.
Style string Optional in-line styles.
Tag object An optional user-defined object to store any additional data with the component.
BackReference DwsReference A reference to the enclosing component.
ID string The id of the <select> itself (the floating label's for points at it). A generated one is used when it is empty.
AdditionalAttributes Dictionary<string, object> Further attributes of the <select> (aria-describedby, aria-required, data-*, autocomplete, form), the element they describe - not of the wrapper.
IgnorePermissionChecks bool false Bypasses all permission checks for this component.
IgnorePermissionSelection bool false Ignore permission selection mode for this component.
IgnoreFormBusy bool false Takes the component out of the submit lock of the DwsForm (or DwsFormBusyRegion) around it: IsFormBusy stays false for it.
Name Typ Description
OnInitializedCallbackStarted EventCallback Callback when OnInitialized starts.
OnInitializedCallback EventCallback Callback during OnInitialized.
OnInitializedCallbackCompleted EventCallback Callback when OnInitialized completes.
OnInitializedAsyncCallbackStarted EventCallback Callback when OnInitializedAsync starts.
OnInitializedAsyncCallback EventCallback Callback during OnInitializedAsync.
OnInitializedAsyncCallbackCompleted EventCallback Callback when OnInitializedAsync completes.
OnIsComponentLoadingChanged EventCallback<bool> Callback when IsComponentLoading changes.
OnCurrentRenderModeChanged EventCallback<DwsRenderMode> Callback when CurrentRenderMode changes.
OnComponentStateChanged EventCallback<DwsComponentStateType> Callback when ComponentState changes.
An error has occurred. This app may no longer respond until reloaded.