PricingBlog

Help forum

  • j.d.armstrong-1208361481658310676

    JD

    2

    2 years ago

    can't access
    Whenever I click create new app I get the following.
    Blank white screen and this message
  • firdaus___-1208327511008608256

    Mr

    3

    2 years ago

    TXT value keep changing when connect domain
    TXT value keep changing, im using hostinger for domain

    after 20 mins txt value changing
  • rscott-1208182117448683641

    Bishop

    3

    2 years ago

    repeatedly using return values from an api call
    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.
  • yoelfdz-1208059331220869200

    yoelfdz

    22

    2 years ago

    Live version sidenav not working as in preview and editor (responsive issue)
    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?
  • the_guy01-1207993727667281990

    the_guy

    1
    1

    2 years ago

    Supabase - store UUID of sponsor during Signup
    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.
  • rscott-1207775588606287955

    Bishop

    21

    2 years ago

    Why does login /auth/me / session cookies not work?
    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?
  • xandercage7712-1207688170922049599

    Xander Cage

    8

    2 years ago

    I keep getting stuck at the 1:03:12 mark on day 3 tutorial
    Hi there, I've been going through the tutorials on Youtube. I keep getting stuck at the 1:03: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
  • ksele_-1207467339985981500

    soni

    8

    2 years ago

    Count number of times a name is in a array of objects
    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 😉
  • notarsmatso-1207379424601964644

    Christian

    10

    2 years ago

    How to initiate a download from toddle?
    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!
  • yoelfdz-1207358778551304233

    yoelfdz

    7

    2 years ago

    404 crash both on editor and production
    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 🙏🏻
  • mbirkegaard-1207069903039762442

    mbirkegaard

    11

    2 years ago

    Using @supports (specifically for dvh)
    height: 95vh
    @supports(height: 100dvh) {
    height: 100dvh
    }

    Anyway to do the above in Toddle?
  • .crypto618-1206860521228341268

    Crypto 618

    5

    2 years ago

    How to display SVG icons dynamically?
    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.
  • rscott-1206650695525203969

    Bishop

    5

    2 years ago

    Confused on pricing
    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)
  • mbirkegaard-1206522938468208640

    mbirkegaard

    1

    2 years ago

    Autogenerated Toddle-id overwrites user set id
    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.
  • stockton_f-1206459241603530772

    Stockton

    5

    2 years ago

    My formula is returning null
    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?