Hi Vladimir,
Greetings from Syncfusion support.
You can prevent the popup from opening by setting args.cancel = true in the open event. Refer to the code below
|
<SfComboBox TValue="string" TItem="GameFields" PopupHeight="230px" AllowFiltering="true" Placeholder="Select a game" DataSource="@Games">
<ComboBoxEvents TValue="string" TItem="GameFields" OnOpen="OnOpen" Filtering="onFiltering" OnClose="onClose"></ComboBoxEvents>
<ComboBoxFieldSettings Text="Text" Value="ID"></ComboBoxFieldSettings>
</SfComboBox>
public void OnOpen(BeforeOpenEventArgs args)
{
if (isFilter)
{
args.Cancel = true;
}
else
{
args.Cancel = false;
}
isFilter = false;
} |
Please find the sample below,
Please check the above sample and get back to us if you need further assistance.
Regards,
Sevvandhi N