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
close icon

Combobox mouse click not working

Hi,

We had a combobox only working with keyboard events, but not working with mouse click. Selection of an item is not working with mouse click. Also events not firing with mouse events.

Blazor Version Using : 20.4.0.54


Example:

<SfComboBox Context="Personel" @bind-Value="@cari.PersonelModelId" TValue="int?" TItem="PersonelModel" Placeholder="Müş. Temsilcisi" DataSource="@PersonelModels" FloatLabelType='@FloatLabelType.Always' Autofill="@Autofill" Width="250px" HtmlAttributes="@(new() { { "style", "margin-left:2%; margin-top:2%" } })" >

<ComboBoxEvents TValue="int?" TItem="PersonelModel" ValueChange="ValueChangeHandlerPersonel"></ComboBoxEvents>

<ComboBoxFieldSettings Text="PersonelAdiSoyadi" Value="Id"></ComboBoxFieldSettings>

 </SfComboBox>


Kindly asking for your help.




3 Replies

UD UdhayaKumar Duraisamy Syncfusion Team May 1, 2023 04:37 PM UTC

We recommend that you refer to the shared documentation for a list of native events supported by the Syncfusion Blazor ComboBox component. You can find the documentation at the following link:

https://blazor.syncfusion.com/documentation/combobox/native-events#list-of-native-events-supported


List of Native events supported by the Syncfusion Blazor ComboBox component

onclick

onblur

onfocus

onfocusout

 

onmousemove

onmouseover

onmouseout

onmousedown

onmouseup

ondblclick

onkeydown

onkeyup

onkeypress

 

ontouchend

onfocusin

onmouseup

ontouchstart

 



PA Palanikumar April 23, 2024 12:49 PM UTC

I am experiencing the same issue. Have you found the solution?



YS Yohapuja Selvakumaran Syncfusion Team May 3, 2024 12:59 PM UTC

Hi Mustafa Kuyucu,


We have thoroughly reviewed your concern and conducted tests to replicate the reported issue at our end. However, our findings indicate that the mouse event is functioning correctly when clicking on the comboBox component. Kindly check out the below sample for further reference.


Sample:
https://blazorplayground.syncfusion.com/hjVfteXqJRWELYSf



To provide further assistance, we have prepared a sample for your reference. Please review the sample using the link provided below:



  1. If the issue occurs specifically when binding any mouse event, could you please provide us with more information regarding the event and its behavior?
  2. Alternatively, if feasible, could you modify the shared sample to replicate the reported issue at our end?
  3. Could you please elaborate on the exact nature of the issue you are encountering with the comboBox component?


Your cooperation and additional information will greatly assist us in resolving this matter effectively. We appreciate your patience and assistance in this regard.



Regards,

Yohapuja S


Loader.
Live Chat Icon For mobile
Up arrow icon