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

select event returns key with ',' in v15.3.0.33

Hey,


After upgrade to version v15.3.0.33 comma appears in key property within select event params.

<input #myAutoCompletBox type="text" ej-autocomplete (select)="onSelected($event)"/> 
@ViewChild('myAutoCompletBox') myAutoCompletBox: EJComponents<ej.Autocomplete, any>;

this.myAutoCompletBox.widget.selectValueByKey(String("15"));
private onSelected(args)
{
console.log(args);
console.log(args.key); // "15,"
}


It's not hard to fix it, but how the hell that could happen :o


1 Reply

AP Arun Palaniyandi Syncfusion Team October 5, 2017 11:30 AM UTC

Hi Me,   
  
Thanks for contacting Syncfusion Support.   
  
We have validated this comma appearing issue in our latest version of 15.3.0.33 and as reported, we can able to reproduce it. But it is not an issue, since we have provided two-way binding for multiple values support in the Knockout JS that results in appending the delimiter character in model value. Hence, we request you  to remove the delimiter at application level. Because on removing the character at end of key will create several usability issues. Like every time on search user need to manually enter delimiter character to resume search. So, it is recommended to remove the delimiter in your application level.    
  
Please let us know if you need further clarifications.   
  
Regards,   
Arun P.  


Loader.
Live Chat Icon For mobile
Up arrow icon