tom-select icon indicating copy to clipboard operation
tom-select copied to clipboard

Error after update to 2.2.2

Open artur79 opened this issue 2 years ago • 6 comments

I'v got error after update to 2.2.2 when trying to use Tom Select in Rails app and Stimulus controller like:

import { Controller } from "@hotwired/stimulus"
import TomSelect from 'tom-select'
... node_modules/tom-select/dist/js/tom-select.complete.js: unknown Statement of type "ForOfStatement"

any ideas ?

artur79 avatar Dec 28 '22 15:12 artur79

Sounds like this https://stackoverflow.com/questions/72936556/how-to-solve-syntax-error-of-d3-array-src-number-js-unknown-statement-of-type

oyejorge avatar Dec 29 '22 00:12 oyejorge

Good point, but any way to skip it ? We've dropped support for IE11 in our apps some time ago. And why it started to appear from most recent version of Tom Select, not earlier ?

artur79 avatar Dec 29 '22 08:12 artur79

@oyejorge is there any way to fix this without introducing IE11 support?

morgoth avatar Apr 14 '23 10:04 morgoth

This issue has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Nov 06 '23 02:11 github-actions[bot]

still an issue

morgoth avatar Nov 06 '23 06:11 morgoth

still an issue

yep. bump

artur79 avatar Nov 06 '23 07:11 artur79

This issue has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Mar 07 '24 01:03 github-actions[bot]