Autocomplete Widget causes some other jquery errors
I have used Autocomplete Widget on our project. But when I import
<script src="https://code.jquery.com/ui/1.13.0/jquery-ui.js"></script>
to our index.cshtml page, it causes our datepicker jquery widget to be seen with a wrong css. As far as we debugged, Autocomplete Widget has some datepicker functions. How could we excract that kind of unused functions?
Thanks for the report. Can you provide a test case on JS Bin? Without a test case, there's not much we can do.
Also, does the issue appear only with UI 1.13.0 or with 1.12.1 as well?
Both 1.13.0 and 1.12.1 causes the same problem.
My project is to complicated to provide a test case. But I can share the screenshots.
In first screenshot, you can see the normal view of the page.
If we add the
<script src="/assets/js/pages/custom/index/jquery-ui.js"></script>
in html, it turns into second screenshot. Datepicker component has a weird appearence.


OK, if the issue is already in 1.12 then we might not be able to do much; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/
Thanks for your answer.
Could we say, if we use jquery-ui’s datepicker, we won’t get the same error?
@igmo1910 I can't answer that question, you'll need to check by yourself.