C
C#11mo ago
Krautzer

❔ Bootstrap selectpicker script not working

<script src="~/Scripts/jquery-3.7.0.min.js"></script>
<script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script>
<script src="~/Scripts/bootstrap.min.js"></script>
<script src="https://unpkg.com/bootstrap-table@1.22.1/dist/bootstrap-table.min.js"></script>
<script src="https://unpkg.com/bootstrap-table@1.22.1/dist/bootstrap-table-locale-all.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/bootstrap-select.min.js"></script>
<script src="~/Content/js/repair.js"></script>
<script>
$(document).ready(function () {
$('#repairProductInput').selectpicker();
});
</script>
<script src="~/Scripts/jquery-3.7.0.min.js"></script>
<script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script>
<script src="~/Scripts/bootstrap.min.js"></script>
<script src="https://unpkg.com/bootstrap-table@1.22.1/dist/bootstrap-table.min.js"></script>
<script src="https://unpkg.com/bootstrap-table@1.22.1/dist/bootstrap-table-locale-all.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/bootstrap-select.min.js"></script>
<script src="~/Content/js/repair.js"></script>
<script>
$(document).ready(function () {
$('#repairProductInput').selectpicker();
});
</script>
7 Replies
Krautzer
Krautzer11mo ago
I don't have any error in console but it is not working. It doesn't open when clicked. I guess because I'm using bootstrap 5.
Serene Sphinx
Serene Sphinx11mo ago
I know bootstrap so well. Can you attatch Screenshot Maybe I can help you.
Krautzer
Krautzer11mo ago
Thank you for your attention, I solved the problem. But now I have another problem.
Krautzer
Krautzer11mo ago
Krautzer
Krautzer11mo ago
I want to clear all data when the modal closes. But I get
Uncaught TypeError: i.createPopper is not a function
Uncaught TypeError: i.createPopper is not a function
Pobiega
Pobiega11mo ago
This is a C# server This isnt a C# question
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.