-
Notifications
You must be signed in to change notification settings - Fork 15
Range slider limit check error #439
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingplugin-range-sliderIssues related to slider pluginIssues related to slider plugin
Description
When the range slider initialize, it will check for limits on the ESRI layer. Do not throw error if the layer has no limits
range-slider.js:formatted:12945 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '0')
at range-slider.js:formatted:12945:73
at Array.filter (<anonymous>)
at range-slider.js:formatted:12945:47
Promise.all(e).then((e=>{
if (!1 !== (e = e.filter((t=>-1 !== t.limits[0])))[0]) {
this._config.limit.min = Math.min.apply(null, e.map((t=>t.limits)).flat()),
this._config.limit.max = Math.max.apply(null, e.map((t=>t.limits)).flat());
let n = [];
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingplugin-range-sliderIssues related to slider pluginIssues related to slider plugin