When wrapping an SfComboBox, with IsClearButtonVisible set true, within an SfTextInputLayout the clear button is not visible. Is this a bug or do I need to do something to show the clear button.
Please see attached project
Hi Phil,
We have reviewed your query and Currently, we don't have Clear Button Support in SfTextInputLayout when the content as SfComboBox in .NET MAUI. We have created a new feature request for the required behavior in SfTabView "Provide Clear Button Support in SfTextInputLayout when the content as SfComboBox in .NET MAUI". Please find the below link for tracking the status of the feature implementation.
Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we have committed to already planned work. So, this feature will be available in any of our upcoming releases.
If you have any more specifications/suggestions for the feature request, you can add them as a
comment in the portal. We will share the release details in the feedback itself.
Regards,
Ahamed Ali Nishad.
When I look at your decompiled code I can see that there is specific logic within SFTextInputLayout to handle this with SfComboBox. So it appears to be a bug rather than "not supported".
For example this is from your code
//
// Summary:
// Gets or sets a value indicating whether to show the clear button.
//
// Value:
// false if disable clear button; otherwise, true.
//
// Remarks:
// This property supports for SfCombobox and SfAutoComplete only.
internal bool ShowClearButton {
get {
return (bool)GetValue(ShowClearButtonProperty);
}
set {
SetValue(ShowClearButtonProperty, value);
}
}
Hi Phil,
We have reviewed your query, and we would like to inform you that we have not provided full support for the clear button in SfTextInputLayout when the content is a SfComboBox in .NET MAUI. Therefore, we consider this a feature request, and we plan to include this support in any of our upcoming releases.
Regards,
Ahamed Ali Nishad.