Can't put empty space on any field when use inside dropdown button

Hello,

I know, my problem is very very specific, so, this problem can be very low priority.

But, when I am using querybuilder inside a dropdown button, I cant put a space in a filter like "contains".


OBS: If I try paste some text with a space, works normal. But if you try type the key it's not working.

Thank you

3 Replies 1 reply marked as answer

MV Madhan Venkateshan Syncfusion Team September 4, 2020 01:53 PM UTC

Hi Rafael, 
 
You can remove the keydown event for dropdown button’s popup in the ‘created’ event to resolve your issue. Please refer the below code snippets and sample link. 
 
dropdownCreated() { 
      let dropdownPopup: Element = document.getElementById('dropdownbutton' + '-popup'); // drop button id  + '-popup' 
      dropdownPopup.removeEventListener('keydown', (dropdownPopup as any).eventListeners()[1]); 
    } 
 
 
Regards, 
Madhan V 


Marked as answer

RA Rafael September 4, 2020 06:24 PM UTC

Hi Madhan,

Nice!

Thank you very much


MV Madhan Venkateshan Syncfusion Team September 7, 2020 11:08 AM UTC

Hi Rafael, 
 
Most welcome. 
 
Regards, 
Madhan V 


Loader.
Up arrow icon