From d68eca7057c5b98756dbc39930d4b9b569ea6409 Mon Sep 17 00:00:00 2001 From: mckaragoz <78308169+mckaragoz@users.noreply.github.com> Date: Sun, 5 Mar 2023 16:24:29 +0300 Subject: [PATCH] DateWheelPicker PopoverClass --- .../Components/DateWheelPicker/MudDateWheelPicker.razor | 2 +- .../DateWheelPicker/MudDateWheelPicker.razor.cs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CodeBeam.MudBlazor.Extensions/Components/DateWheelPicker/MudDateWheelPicker.razor b/CodeBeam.MudBlazor.Extensions/Components/DateWheelPicker/MudDateWheelPicker.razor index 193253af..0c5b5b3f 100644 --- a/CodeBeam.MudBlazor.Extensions/Components/DateWheelPicker/MudDateWheelPicker.razor +++ b/CodeBeam.MudBlazor.Extensions/Components/DateWheelPicker/MudDateWheelPicker.razor @@ -16,7 +16,7 @@ AdornmentColor="@AdornmentColor" IconSize="@IconSize" OnBlur="HandleOnBlur" Clearable="@Clearable" OnClearButtonClick="HandleClearButtonClick" @attributes="UserAttributes" /> - + @if (ShowToolbar || SubmitOnClose == false) {
diff --git a/CodeBeam.MudBlazor.Extensions/Components/DateWheelPicker/MudDateWheelPicker.razor.cs b/CodeBeam.MudBlazor.Extensions/Components/DateWheelPicker/MudDateWheelPicker.razor.cs index 776a23ce..f548cb85 100644 --- a/CodeBeam.MudBlazor.Extensions/Components/DateWheelPicker/MudDateWheelPicker.razor.cs +++ b/CodeBeam.MudBlazor.Extensions/Components/DateWheelPicker/MudDateWheelPicker.razor.cs @@ -28,6 +28,14 @@ protected override void OnInitialized() [CascadingParameter(Name = "Standalone")] internal bool StandaloneEx { get; set; } = true; + [Parameter] + [Category(CategoryTypes.FormComponent.Behavior)] + public string PopoverClass { get; set; } + + [Parameter] + [Category(CategoryTypes.FormComponent.Behavior)] + public string PopoverStyle { get; set; } + /// /// The date format that determines the text and wheel order. Default is Thread.CurrentThread.CurrentUICulture.DateTimeFormat.ShortDatePattern. ///