@namespace AntDesign.Internal @inherits AntDomComponentBase
@if (ShowSuffixIcon) { @if (SuffixIcon != null) { @SuffixIcon } else if (ShowTime) { } else { } }
@code { [Parameter] public string PrefixCls { get; set; } = "ant-picker"; [Parameter] public string Size { get; set; } [Parameter] public string Value { get; set; } [Parameter] public string Placeholder { get; set; } [Parameter] public bool ReadOnly { get; set; } [Parameter] public bool Disabled { get; set; } [Parameter] public bool AutoFocus { get; set; } [Parameter] public bool ShowSuffixIcon { get; set; } = true; [Parameter] public bool ShowTime { get; set; } = false; [Parameter] public RenderFragment SuffixIcon { get; set; } [Parameter] public EventCallback OnClick { get; set; } [Parameter] public EventCallback Onfocus { get; set; } [Parameter] public EventCallback Onfocusout { get; set; } [Parameter] public EventCallback OnKeyUp { get; set; } [Parameter] public EventCallback OnInput { get; set; } public bool IsOnFocused { get; set; } = false; }