windmill icon indicating copy to clipboard operation
windmill copied to clipboard

bug: dynamic select fails when using relative imports

Open m-thomson opened this issue 5 months ago • 1 comments

Describe the bug

I attempted to implement a dynamic select and found that I could not do so when also using a relative import. After removing the import (and all references to it), the dynamic select works as expected (in Bun)

Screencap2024 09 20 1517

Interestingly, it works correctly from the "deployed" page, just not the editor page: Screencap2024 09 20 1531

This is using TS/Bun. I tried it with Deno and neither worked. The error popup in Deno was a similar message about not being able to find the import.

Whether bundles are enabled or disabled seemed to have no effect.

To reproduce

Attempt to use dynamic select in a script that also has a relative import.

Expected behavior

Dynamic select should work even with imports.

Screenshots

No response

Browser information

No response

Application version

EE v1.393.2-2-g6f0af6b8c

Additional Context

No response

m-thomson avatar Sep 20 '24 22:09 m-thomson