SfCombobox edit value invalid

Hello. I have a problem with SfCombobox. 
When I turned on editing mode to true. 
After editing, although the value I entered does not match any sfcombobox item, when I unfocus. 
This value is still recorded. So holy out wrong data. Is there any way to handle this problem? 
Like automatically selecting an item with the closest value, for example, or something like that. Thank you so much!

1 Reply 1 reply marked as answer

RS Ramya Soundar Rajan Syncfusion Team June 12, 2020 12:41 PM UTC

Hi Son, 
  
Greetings from Syncfusion. 
  
Query1: After editing, although the value I entered does not match any SfComboBox item, when I UnFocus. This value is still recorded 
  
You can clear the entered text when the text is not a ComboBox item by using FocusChanged event. We have created sample for this and please find the sample from below link. 
  
  
Query 2: Like automatically selecting an item with the closest value, for example, or something like that. 
  
We don't have in-built support for this. By setting SuggestionMode=”Custom” value, you can get the closest value, for that you need to write filter logic. Please refer the following UG document to achieve this 
  
  
Regards, 
Ramya S 


Marked as answer
Loader.
Up arrow icon