diff --git a/components/date-picker/RangePicker.razor.cs b/components/date-picker/RangePicker.razor.cs index cf781f34..456b2749 100644 --- a/components/date-picker/RangePicker.razor.cs +++ b/components/date-picker/RangePicker.razor.cs @@ -370,7 +370,7 @@ namespace AntDesign } ResetPlaceholder(); - _initValue = Value; + _initValue = (TValue)(_value as Array).Clone(); } /// diff --git a/site/AntDesign.Docs/Demos/Components/DatePicker/demo/DateRender.razor b/site/AntDesign.Docs/Demos/Components/DatePicker/demo/DateRender.razor index 3ae99975..1a2c4be7 100644 --- a/site/AntDesign.Docs/Demos/Components/DatePicker/demo/DateRender.razor +++ b/site/AntDesign.Docs/Demos/Components/DatePicker/demo/DateRender.razor @@ -8,7 +8,7 @@ string style = ""; if (currentViewDate.Day == 1) { - style = "border: 1px solid #1890ff; borderRadius: 50%"; + style = "border: 1px solid #1890ff; border-radius: 50%"; } return @
diff --git a/site/AntDesign.Docs/Demos/Components/Form/demo/ControlHooks.razor b/site/AntDesign.Docs/Demos/Components/Form/demo/ControlHooks.razor index f465bcbf..d07598df 100644 --- a/site/AntDesign.Docs/Demos/Components/Form/demo/ControlHooks.razor +++ b/site/AntDesign.Docs/Demos/Components/Form/demo/ControlHooks.razor @@ -24,7 +24,9 @@ - + + +