Open
Description
I've got a Laravel project. I've just installed jQuery
and ion.rangeSlider
through npm.
"ion-rangeslider": "^2.3.1",
"jquery": "^3.6.0"
JQuery works as expected in the project. Trying to do the most basic example of a slider (for example below), I get an error:
<input name="MyCoolField" class="form-control" type="text" />
<script>
$(function() {
$("[name=MyCoolField]").ionRangeSlider({
type: "double",
min: 0,
max: 1000,
from: 200,
to: 500,
grid: true
});
});
</script>
The Error Is:
jquery.js?8262:4059 Uncaught TypeError: $(...).ionRangeSlider is not a function
at HTMLDocument.eval (_filter-form.js?a5ef:22:32)
at mightThrow (jquery.js?8262:3766:1)
at process (jquery.js?8262:3834:1)