BoldDesk®Customer service software with ticketing, live chat & omnichannel support, starting at $99/mo for unlimited agents. Try for free!
i having trouble making Combobox hint always floating
public class FInputCombobox : SfTextInputLayout
{
public new FSfComboBox InputView
{
get => base.Content as FSfComboBox;
set => base.Content = value;
}
public FInputCombobox() : base()
{
base.Content = new FSfComboBox();
InputView.DropDownItemHeight = 40;
InputView.DropDownItemFontFamily = FSetting.FontText;
InputView.DropDownItemFontSize = FSetting.FontSizeLabelTitle;
InputView.MaxDropDownHeight = 410;
InputView.DropDownIconColor = FSetting.MainColor;
InputView.DropDownBackground = FSetting.MainColor;
// InputView.DropDownItemHeight = 30;
ShowHint = true;
HintLabelStyle.FontFamily = FSetting.FontText;
HintLabelStyle.FontSize = FSetting.FontSizeLabelHint;
HintLabelStyle.TextColor = FSetting.MainColor;
IsHintAlwaysFloated = true;
EnableHintAnimation = false;
ContainerType = ContainerType.None;
ContainerBackground = FSetting.MainColor;
OutlineCornerRadius = 8;
Stroke = FSetting.MainColor;
FocusedStrokeThickness = UnfocusedStrokeThickness = 1;
}
}
Hi,
Thank you for reaching out to us. We have validated the reported issue, "ComboBox floating hint does not work in SfTextInputLayout," on our end. To resolve the issue, we suggest removing the EnableHintAnimation property from SfTextInputLayout. When IsHintAlwaysFloated is set to true, the EnableHintAnimation property is not needed, and its presence is causing the reported issue. For more details, please refer to the attached sample.
Please let us know whether the provided suggestion helps to resolve your query. Please don’t hesitate to contact us if you have any concerns or queries.
Regards,
Aarthi A.
Hi Team,
Thank you for the update.
We are glad that the provided response meets your requirement. We will mark this thread as solved. Please let us know if you need further assistance. As always, we are happy to help you out.
Regards,
Preethi R