From a6b502757a1e996204a14773e3fcf177c4893102 Mon Sep 17 00:00:00 2001 From: Chad Reed Date: Fri, 23 Sep 2022 14:22:00 -0400 Subject: [PATCH] DateRangePicker: Fix DateRangePicker Close on Clear (#5340) --- .../DateRangePickerCloseOnClearTest.razor | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/MudBlazor.UnitTests.Viewer/TestComponents/DatePicker/DateRangePickerCloseOnClearTest.razor diff --git a/src/MudBlazor.UnitTests.Viewer/TestComponents/DatePicker/DateRangePickerCloseOnClearTest.razor b/src/MudBlazor.UnitTests.Viewer/TestComponents/DatePicker/DateRangePickerCloseOnClearTest.razor new file mode 100644 index 000000000000..bc411010d495 --- /dev/null +++ b/src/MudBlazor.UnitTests.Viewer/TestComponents/DatePicker/DateRangePickerCloseOnClearTest.razor @@ -0,0 +1,14 @@ +@namespace MudBlazor.UnitTests.TestComponents + + + + + Clear + + + +@code { + MudDateRangePicker _picker; + [Parameter] public DateRange DateRange { get; set; } + [Parameter] public bool CloseOnClear { get; set; } +} \ No newline at end of file