Hi Afshin,
Greetings from Syncfusion support.
We have checked the reported requirement. We would like to let us know that, by default dropdown list value is null. When you clear the value using clear button then input element goes empty and dropdownlist value is null. If you need to set the dropdown list value is null by programmatically, then take the instance and set the value for value property is null as mentioned below.
<DropDownListComponent id="country" ref={(dropdownlist) =>
{ this.listObj = dropdownlist; }} dataSource={this.searchData} filtering={this.onFiltering.bind(this)} filterBarPlaceholder='Search a country' allowFiltering={true} fields={this.fields} placeholder="Select a country" popupHeight="220px" showClearButton="true" created={this.onCreated.bind(this)} /> |
this.onCreated = (e) => {
this.listObj.value = null;
} |
In the filters if you have typed some characters and using clear button to clear the values in inputs, all the search character will be cleared.
If we misunderstood your query, please revert more details to us it will help to validate further.
Regards,
Ashokkumar B.