diff --git a/components/select/Select.razor b/components/select/Select.razor index 28a8b8d4..0b8d3ee3 100644 --- a/components/select/Select.razor +++ b/components/select/Select.razor @@ -1,4 +1,4 @@ -@namespace AntDesign +@namespace AntDesign @using AntDesign.Internal @inherits SelectBase @@ -12,7 +12,8 @@ HiddenMode OnVisibleChange="OnVisibleChange" OverlayEnterCls="slide-up-enter slide-up-enter-active slide-up" - OverlayLeaveCls="slide-up-leave slide-up-leave-active slide-up"> + OverlayLeaveCls="slide-up-leave slide-up-leave-active slide-up" + PopupContainerSelector="@PopupContainerSelector">
diff --git a/components/select/internal/SelectBase.cs b/components/select/internal/SelectBase.cs index 08d1a577..080f18f8 100644 --- a/components/select/internal/SelectBase.cs +++ b/components/select/internal/SelectBase.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -56,6 +56,7 @@ namespace AntDesign.Internal [Parameter] public string OptionFilterProp { get; set; } = "value"; + [Parameter] public string PopupContainerSelector { get; set; } #endregion #region Number(3)