Topic: Auto_complete does not work in Pro version
isurigamage
asked 7 years ago
Mikołaj Smoleński
staff answered 7 years ago
isurigamage commented 7 years ago
Hi Mikolaj, I added the basic example to my project and I can still see the issue. Uncaught TypeError: $(...).mdb_autocomplete is not a function. What do you think the issue with the project. is it pro licence issue? I am using git+https://oauth2:xxxxxxxxxxxxxxxxxxx@git.mdbootstrap.com/mdb/jquery/jq-pro.git Thank youMikołaj Smoleński staff commented 7 years ago
It is most often problem with importing our scripts. Are You sure that all other js components are working clear? For example - can You initialize our Select Input?isurigamage commented 7 years ago
No other JS modules did not work. I tried to initialize select and it did not work either. what is the solution for this?
Mikołaj Smoleński
staff answered 7 years ago
<head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Material Design Bootstrap</title> <!-- Font Awesome --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- Bootstrap core CSS --> <link rel="stylesheet" href="css/bootstrap.min.css"> <!-- Material Design Bootstrap --> <link rel="stylesheet" href="css/mdb.min.css"> <!-- Your custom styles (optional) --> <link rel="stylesheet" href="css/style.css"> </head>
<!-- SCRIPTS -->
<!-- JQuery -->
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="js/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="js/mdb.js"></script>
<script>
$(document).ready(function () {
// SideNav Button Initialization
$(".button-collapse").sideNav();
// SideNav Scrollbar Initialization
var sideNavScrollbar = document.querySelector('.custom-scrollbar');
Ps.initialize(sideNavScrollbar);
$('.show-me').click();
});
</script>
Best Regards isurigamage commented 7 years ago
Hi Thank you for the reply. Files are placed in accurate directories and i am still getting the issue. when I search mdb_autocomplete in mdb.js and mdb.min.js , no results found. what do you think the issue here? how can I fix this issue? looking forward to hearing from you soon. Thank you IsuriMikołaj Smoleński staff commented 7 years ago
Are You sure that our scripts are PRO version?isurigamage commented 7 years ago
Yes Mikolaj, My client bought the Pro version and i installed it using git+https://oauth2:xxxxxxxxxxxxxxxxxxx@git.mdbootstrap.com/mdb/jquery/jq-pro.git.Mikołaj Smoleński staff commented 7 years ago
Do You have any errors in the console (Shift Ctrl i)?FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No