We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Addition proposal to the sfComboBox behaviors

The goal - allow text to be entered into the SfComboBox text box that does not match any entries in the ItemsSource list. Have the SfComboBox text box text property two-way bindable to a data source.

This basically becomes the merge of a .NET MAUI Entry box and the SfComboBox. This is traditional behavior for a ComboBox. As is, SfComboBox is functioning like a ListBox.

Currently the only two-way bindable path to a return value is SelectedItem or SelectedIndex. Also the SfComboBox has only two TextSearchModes - ComboBoxTextSearchMode.Contains and ComboBoxTextSearchMode.StartsWith.

What I would propose is the addition of a two-way bindable property - SfComboBox.TextBoxText, and an additional SfComboBox.TextSearchMode of ComboBoxTextSearchMode.None. The latter preventing the user entered text box text from being overwritten unless a manual selection is made from the dropdown list.

I recognize that this makes entry completion events a bit more nuanced but the Unfocused exists and an IsEntryCompleteButtonVisible could automatically appear when TextSearchMode = None.



1 Reply

VV Vijayakumar Viswanathan Syncfusion Team February 8, 2023 12:47 PM UTC

Hi Mike,

We considered your requirements and created the feature request for " Addition of a two-way bindable property - SfComboBox.TextBoxText," and "ComboBoxTextSearchMode.None with completed event support".

You can track the status of the feature implementation using the below link.


Text Property  feedback link: https://www.syncfusion.com/feedback/40952/add-text-property-support-to-sfcombobox

TextSearchMode.None  feedback link:  https://www.syncfusion.com/feedback/40953/provide-textsearchmode-none-support-along-with-completed-event-support-in


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,

Vijayakumar V


Loader.
Up arrow icon