Dear customer,
Thanks for contacting Syncfusion Support.
We have tried your reported scenario for setting the text automatically and we can reproduce your mentioned issue. After validation, we found that this issue is due to changing of scrollLeft position of the element since it’s a standard behavior of setting the cursor to last. So, we suggest you to change the scrollLeft position of the element to 0 in the create event to set the text align as rquested. Please find the below code snippets.
|
onCreate(event) { //create event
var obj = $("#databindinglocal").ejAutocomplete("instance")
obj.element[0].scrollLeft = 0; // set the scrollLeft to 0
}
|
We have also shared a sample below for your reference.
API Link:
Please check the shared details and solution and let us know if you have any further queries.
Regards,
Arun P.