improve: enhance combo components to production level (COMBO_POLICY compliance)
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m42s
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m42s
BlogForm: - Add placeholder '分類 없음' for null category selection - Label changed to '카테고리 (선택 사항)' to clarify null is allowed - Add Clearable=true for easy null selection InquiryForm: - Add Required=true and Placeholder for ServiceType dropdown (mandatory field) - Add Label asterisk (*) to indicate required field - Add Clearable=true and Placeholder for Status dropdown (optional field) Result: Combo components now follow COMBO_POLICY - null/required/optional states are explicit in UI, not guessed by users. Aligns with 'Production Level' standard. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,12 +15,12 @@
|
||||
</AdminFormSection>
|
||||
|
||||
<AdminFormSection Title="문의 내용" Description="@(IsEditMode ? "상태와 메모만 변경 가능합니다." : "운영 분류와 처리 메모를 함께 관리합니다.")" CssClass="mb-4">
|
||||
<CommonCodeSelect @bind-Value="model.ServiceType" Group="INQUIRY_SERVICE_TYPE" Label="문의 유형" Class="mb-4" Disabled="@IsEditMode" />
|
||||
<CommonCodeSelect @bind-Value="model.ServiceType" Group="INQUIRY_SERVICE_TYPE" Label="문의 유형 *" Class="mb-4" Required="true" Disabled="@IsEditMode" Placeholder="문의 유형을 선택하세요" />
|
||||
|
||||
<MudTextField @bind-Value="model.Message" Label="문의 내용"
|
||||
Variant="Variant.Outlined" Lines="5" Class="mb-4" Required="true" ReadOnly="@IsEditMode" />
|
||||
|
||||
<CommonCodeSelect @bind-Value="model.Status" Group="INQUIRY_STATUS" Label="상태" Class="mb-4" />
|
||||
<CommonCodeSelect @bind-Value="model.Status" Group="INQUIRY_STATUS" Label="상태" Class="mb-4" Clearable="true" Placeholder="상태를 선택하세요" />
|
||||
|
||||
<MudTextField @bind-Value="model.AdminMemo" Label="관리 메모"
|
||||
Variant="Variant.Outlined" Lines="3" Class="mb-4" />
|
||||
|
||||
@@ -6,8 +6,9 @@
|
||||
<MudTextField @bind-Value="Model.Title" Label="제목 *"
|
||||
Variant="Variant.Outlined" Class="mb-4" Required="true" RequiredError="제목을 입력하세요." Counter="100" MaxLength="100" />
|
||||
|
||||
<MudSelect T="int?" @bind-Value="Model.CategoryId" Label="카테고리"
|
||||
Variant="Variant.Outlined" Class="mb-4">
|
||||
<MudSelect T="int?" @bind-Value="Model.CategoryId" Label="카테고리 (선택 사항)"
|
||||
Variant="Variant.Outlined" Class="mb-4" Clearable="true">
|
||||
<MudSelectItem Value="@((int?)null)">분류 없음</MudSelectItem>
|
||||
@foreach (var category in Categories)
|
||||
{
|
||||
<MudSelectItem T="int?" Value="@((int?)category.Id)">@category.Name</MudSelectItem>
|
||||
|
||||
Reference in New Issue
Block a user