aroba
June 24, 2022, 9:13am
1
Hi all, I’m trying to instanciate a Numeric range from javascript. There are couple of examples for range dates but not numeric.
I’m using the toolbox plugin and my “Run Javascript” contains the following:
Where getdefaultdayrange is a javascript to bubble element:
The call seems to work but returned range is always [0,0] instead of [540,1080]…
Any idea?
aroba
June 24, 2022, 12:29pm
2
Find out it was not related to the type but to a bug in Javascript To Bubble… Explanation can be found there:
Hi,
I am using “JS to Bubble” element of Toolbox plugin, but unfortunately the value is not getting set into it.
This is how elements are set up:
[Screenshot 2020-05-27 at 12.31.56 AM] [Screenshot 2020-05-27 at 12.31.46 AM]
This is my javascript code:
[Screenshot 2020-05-27 at 12.31.28 AM]
This is what I see in console:
[Screenshot 2020-05-27 at 12.31.13 AM]
What am I doing wrong?
Funnily, there is another “JS to bubble” element in the same page, which is working. I tried to check ever…