AdminDictMultiSelect Component

Overview

A data dictionary multi-select component. Automatically loads all dictionary items under the specified dictionary category as the option list, supporting multiple selection.

Parameters

Parameter Description
@bind-Value Bind the selected value list (List<string>)
ParentName Dictionary category name (required), e.g., "order_status"
DisplayText Form display label
CacheDuration Cache duration (seconds), default 300

Usage Example

<AdminDictMultiSelect @bind-Value="@selectedStatuses"
    ParentName="order_status"
    DisplayText="Order Status" />

Notes

  • ParentName must correspond to an existing category name in the data dictionary
  • Data is cached; changes to the dictionary will only take effect after the cache expires or the application is restarted