Funnily, there is another “JS to bubble” element in the same page, which is working. I tried to check every character by character as to what is different, I am unable to see the issue.
Were you ever able to figure out what is causing this error? I am getting the same error in an app I am working on even though I have successfully used the plugin to do this in a previous app.
I retriving busy date from google calendar using API, I would like to be able to access to data using ‘List Item Expression’ but I tried many expression without result.
Might be a bug generating dates and date ranges. When I pull a date from a date picker and attempt to add seconds (just a raw number to test), the output is empty. The expression appears to be valid with blue confirming text. When I output the expressions (date or date range), the text box shows nothing. Maybe I’m doing something wrong. Other basic expressions that output numbers works fine for me.
Its happening when I click on a repeating group field. It doesn’t happen on all of the fields just on certain ones. I had Bubble double check to see if it was a database error and they said its with the plugin.
That’s you and YOUR code, though it does look like all your obvious open parens are closed.
Are you sure quill.editor isn’t a function? That is, it might need quill.editor().isBlank(false)rather than what you’ve written.
(I don’t know anything about the quill library so can’t help you further. Just know that all Run JavaScript does is take your code as a string and tosses it as the argument to eval(). So basically, there’s no bugs in RUN JS as basically there kind of can’t be. Bubble support won’t assist you in debugging your own code, which is why they sent you here.)
Thanks for the reply @keith . I paid to have the code written for me so I’m just trying to work it all out. It’s just odd that it works on specific rows in the group and not on others. thats why I thought it was a Bubble issue at first.
I tried what you suggested but got the same result. I don’t know if this helps:
As you can see it does pull in the right value ‘Here’s your chance to _____’ only it won’t insert it in the Rich text editor. The field above that looks the exact same in the debugger only with a different value and it works perfectly.
I had the exact same issue and it persisted for a bit. Finally I solved it by using the rich text editor to remove all formatting from the JS code and it worked. Wish i had a better explanation but it might be worth a shot.
If you navigate to the Run Javascript action, you will see the code and a link to open the rich text editor. Inside the editor there is an icon to remove formatting from the code. Unfortunately if you’re not familiar with this, the icon may be hard to spot. I am happy to help over a call. My time zone is EST and i will have some time tomorrow. Which time zone are you in?
I have not found a solution yet. These error messages still appear - but the calculation works so I have just been ignoring them. If you have a solution I would love to hear it, thanks!
I am using the list of numbers feature, and love it.
However, I have a problem. When the page (popup) loads, the list of numbers generates. However, the basis for the list (a count of things) can change while the popup is still loaded. When this happens, it seems that the list doesn’t change as well.
Is there a way to use a workflow to get the list of numbers to “recompute”? I feel like I’ve seen this before, but I can’t find where…
I’m trying to run a server script using toolbox, to stream data from an external website. To do the streaming of the data the webiste provides a Nodejs script. I’ve tested it and it works 100% on my computer. But when I add the code to a workflow, I get an error when I check the develper tools.
The error is this
As you can see the nodejs that toolbox uses doesn’t have the module requests installed
My code looks like this
As you can see it’s pretty simple and I use the request module to make requests to the API. Is there a way of adding the requests module to toolbox? Or is there another nodejs module on Toolbox that I can use?
I’m new to bubble and I want to integrate a nice “Donut” chart, I know how to integrate hard values in my html element, but I want to integrate information that is stored in my Bubble database, here is the example:
how to replace the countries and litres to retrieve my data stored in the database, when I do a “Do a Search” my elements are all on the same line separated by commas.
If I can have an example, thank you very much for your help.