Help forum
- can't access
JD
2 2 years ago
Whenever I click create new app I get the following . Blank white screen and this message - TXT value keep changing when connect domain
Mr
3 2 years ago
TXT value keep changing , im using hostinger for domain after 20 mins txt value changing - repeatedly using return values from an api call
Bishop
3 2 years ago
If I reference the return value of /auth /me /data /user _id repeatedly , does it repeatedly call the api ? I would expect it to NOT call the API repeatedly . But what I 'm seeing is if I refer to that full path ( /auth /me /data /user _id ) instead of assigning to a variable and then using the variable , /auth /me /data /user _id at some point goes to null . The solution is to assign it to a variable first and use the variable in the repeat . But this was not expected and I would like some confirmation of best practice around this . I think assigning it to a variable first is a wasted step . And bringing down user _id from /auth /me once and repeatedly referring to it as if its a normal variable seems like it should work . But in reality it seems not to , and its super inconsistent . - Live version sidenav not working as in preview and editor (responsive issue)
yoelfdz
22 2 years ago
I am having troubles with a sidenav I 've created and made responsive , in the editor and preview works well but not in the live version . Screenshots attached . Anyone knows why is this happening ? - Supabase - store UUID of sponsor during Signup
the_guy
✅11 2 years ago
I create an affiliate system . Backend is Supabase . First I get a UUID from auth .users .id I want to store this as a sponsor _id into a public table called "affilaite _tree " I used the user management tutorial to setup the trigger and function . When I just insert the new .id into affiliate _tree everything works as expected . When I want to store the sponsor _id in the function as well , I get an error stating that the sponsor _id is type text and not type uuid . How can I solve this error to store the sponsor _id as UUID ? In the pictures you see how the payload object is structured . The sponsor _id is currently type "string " . I also added a screenshot of the error message . - Why does login /auth/me / session cookies not work?
Bishop
21 2 years ago
I cannot figure this out for the life of me . Sometimes login and auth /me work fine . Now for some reason auth /me is returning 'authorization required ' . Of course its required , this is what I 've been doing all the time , why is it not working now ? There is another person working on the site with me and they might be logging into this account you see me logging into as well . But I tried a second account and that doesn 't work either . /auth /login is showing its working on this video , and on xano . /auth /me is showing failure 'authorization required ' So it appears that /auth /login maybe is not writing the session variable ? Why would it do this ? - I keep getting stuck at the 1:03:12 mark on day 3 tutorial
Xander Cage
8 2 years ago
Hi there , I 've been going through the tutorials on Youtube . I keep getting stuck at the 1 : 0 3 :12 mark of day 3 because I can not get the session cookie to save to my browser . I 've downloaded the Chrome extension (which doesn 't light up when I 'm in the Toddly app as a FYI so it appears inactive ) . I keep logging in on the test page and I can see the API correctly pull my bearer token . I have successfully created and tied a "to do item " to my user ID in Xano but I can not get the authorization to pass to pull in the to do data . The only thing I did to deviate from the original video is I accidentally published a branch . Would that have any impact on the project though ? Video link : https://www.youtube.com/watch?v=NItmmOhjXbA - Count number of times a name is in a array of objects

soni
8 2 years ago
I 'm trying to understand how to work with the formula editor , have some problems to convert from "normal " Javascript to the formula editor . If i have a list of names in an array of object like this : [ { name : "John " } , { name : "Jane " } , { name : "John " } , { name : "Doe " } , { name : "Jane " } , { name : "Doe " } ] ; How can i convert that to this in Toddle : [ { name : 'John ' , count : 2 } , { name : 'Jane ' , count : 2 } , { name : 'Doe ' , count : 2 } ] I guess it 's reduce and map , but how 😉 - How to initiate a download from toddle?
Christian
10 2 years ago
Hello . I 'm calling a post request which returns a file (successfully ) , but it does not show up as a download in the browser , but just resides in the response body . What must be done to initiate the download in the browser ? Thanks ! - 404 crash both on editor and production
yoelfdz
7 2 years ago
Hey there evryone , I guess this one is for Team toddle 😅 Just opened my editor (a branch I created yerterday ) and for some reason my editor canvas was empty , checked live site and I 'm getting a 404 . I think it was ok yesterday when I left it . @Andreas Møller I saw another case very similar to this but do not know how you solved it , need to solve it in order to continue building 🙏🏻 - Using @supports (specifically for dvh)
mbirkegaard
11 2 years ago
height: 95vh
@supports(height: 100dvh) {
height: 100dvh
}Anyway to do the above in Toddle ? - How to display SVG icons dynamically?
Crypto 618
5 2 years ago
I am trying to create a dynamic menu using an array of objects as mentioned in https://youtu.be/ICTzRosXYec?si=e9HbgRUY7o-UrnIq Successfully have created the menu . Want to copy paste code from https://icon-sets.iconify.design/ (for example ) Here is the code : <svg xmlns = " http://www.w3.org/2000/svg " width = "1em " height = "1em " viewBox = "0 0 24 24 " > <g fill = "none " stroke -linecap = "round " stroke -linejoin = "round " stroke -width = "2 " > <path d = "M0 0h24v24H0z " / > <path fill = "currentColor " d = "M17 3 .34a10 10 0 1 1 -14 .995 8 .984L2 12l .005 - .324A10 10 0 0 1 17 3 .34m -1 .051 6 .844a1 1 0 0 0 -1 .152 - .663l - .113 .03l -2 .684 .895l -2 .684 - .895l - .113 - .03a1 1 0 0 0 - .628 1 .884l .109 .044L11 12 .22v .976l -1 .832 2 .75l - .06 .1a1 1 0 0 0 .237 1 .21l .1 .076l .101 .06a1 1 0 0 0 1 .21 - .237l .076 - .1L12 15 .303l1 .168 1 .752l .07 .093a1 1 0 0 0 1 .653 -1 .102l - .059 - .1L13 13 .196v - .977l2 .316 - .771l .109 - .044a1 1 0 0 0 .524 -1 .221zM12 6a1 .5 1 .5 0 1 0 0 3a1 .5 1 .5 0 0 0 0 -3 " / > < /g > < /svg > How do I save this code into object and then load the svg within a repeat ? I know how to copy paste the code onto div but how do I do that from an object I created ? I have searched and found related examples but not sure if what I am doing is possible or correct way of doing it . Thanks . - Confused on pricing
Bishop
5 2 years ago
I 'm working with a guy who has his own account , he 's doing design work . He 's in my 'hobby ' project with me . I click 'add custom domain 'hobby and pro ' ' but its confusing what i 'm seeing here . What account do i need to add my domain now , and have this guy work with me , do I need to pay for his account too , while he 's doing this work on this site with me ? The in -project view of what each type of account is should reflect this so I don 't have to ask these questions and people can self -service (it 'll be better for toddle of course ) - Autogenerated Toddle-id overwrites user set id
mbirkegaard
1 2 years ago
I 'm inserting a script tag in the head of my page (s ) and it requires an id attribute to function correctly . The id attribute gets overridden by the toddle generated it . - My formula is returning null
Stockton
5 2 years ago
Here 's the code for my formula : function chart_js(args, ctx) {
const type = args.type;
const labels = args.lables;
const chartTitle = args.chartTitle;
const data = args.data;
const borderWidth = args.borderWidth;
const chartId = args.chartId;
const config = {
labels: labels,
datasets: [{
label: chartTitle,
data: data,
borderWidth: borderWidth
}]
}
const string = `new Chart(document.getElementById(${chartId}), {
type: ${type},
data: ${config},
options: {
scales: {
y: {
beginAtZero: true
}
}
}
});`
console.log('arguments in formula: ', string)
return string
}The formula is returning "null " but I would expect it to return a string value . What am I doing wrong ?

.jpeg/public)