PricingBlog

Help forum

  • roccons-1268017595563376711

    roccons

    5

    1 year ago

    Workflow don't always executes completely
    I have a workflow attached to the click event of my "Update note" button, which should first update a register in my Supabase table (Call: Update Note) and then a select to refresh the data which populates my list of repeating elements (Call: All Notes), to avoid discrepancy. But after several tests and after including a debug status message I discovered that when I click the "Update note" button, sometimes (randomly) only the first call is executed so the register is correctly updated in my Supabase table, but not reflected in my repeating list, and I need to click for a second time in order to have the second call executed and my list updated. What am I missing?
  • vaughtton-1267834832113897515

    Vaughtton

    6

    1 year ago

    ¿How can I count the total # of lessons?
    Trying to create a LMS in toddle, using Xano as a Backend. I need to get the total number of lessons in a course to show it to the user and track progress.

    I can't figure how to do that natively using Formulas in Toddle.

    My JSON is like this:

    id: 1,
    created_at: 1722335594204,
    Title: Introducción al No-code,
    Description: Descubre el mundo del no-code a través de este curso de Introducción.,
    Portada: {access, path, name, type, size, mime, meta, url},
    _secciones_cursos: [
    {
    id: 1,
    created_at: 1722335578035,
    Nombre: Introducción al Curso,
    Posicion: 1,
    cursos_id: 1,
    _lecciones_secciones: [2],
    _contar_lecciones: 2},
    {
    id: 2,
    created_at: 1722335587176,
    Nombre: Primer módulo,
    Posicion: 2,
    cursos_id: 1,
    _lecciones_secciones: [2],
    _contar_lecciones: 2}]}
  • cetfor-1267556058210242690

    logicalness

    37

    1 year ago

    TypeError: NetworkError when attempting to fetch resource.
    Hello, I'm really struggling here. I've been attempting to create a simple signup form to create an account in an app. I believe I have everything setup correctly, but I'm getting a TypeScript error when submitting my forn: "TypeError: NetworkError when attempting to fetch resource."

    I started testing with SupaBase, then switched to AppWrite.io and I get the same issues with both. I sent an API request in Postman and was able to create a user usign AppWrite's REST API no problem, but when I try the same request from my toddle.dev project I'm getting this error.

    Any ideas?
  • larshaehre-1267413129529397439

    Lars Hæhre

    7

    1 year ago

    I want a component that isn't displayed in the User interface
    I'm trying to create a component that only does an API call to the database. But when I add it to the page it shows up and changes the layout of the page.

    I have set the width, height, margin and padding to 0px. Still it seems like it shows up - at least in the editor.
  • patrickmast-1267408229118378038

    Patrick Mast

    3

    1 year ago

    How to: "Loading" placeholder
    Let say I'm building a news site. How can I load the site and display a loading placeholder to the user? Once the data is fetched from the API, the loading placeholder can then be replaced with the actual news story. This way, the user doesn't have to wait until the data is fully loaded to see the website.
  • bhavikchavda-1267369607543394304

    Bhavik (Impler.io)

    3

    1 year ago

    Facing isssue while loading script, in package
    I'm building a CSV Excel Importer Plugin in Toddle, where at first, I need to load one script that initializes the importer. The script is meant to be loaded as follows,
    <script type="text/javascript" src="https://embed.impler.io/embed.umd.min.js" async></script>

    So Added this code in the plugin Init_Impler event,
    /**
    * @param {Args} args
    * @param {Ctx} ctx
    */
    async function Init_Impler (args, ctx) {
    const response = await import('https://embed.impler.io/embed.umd.min.js');
    console.log(response);
    if(window.impler) {
    const importerId = "1";
    window.impler.init(importerId);
    window.impler.on('message', (data) => {
    console.log(data);
    }, importerId);
    }
    }

    I called this method on page load, at first the CORS error was throwing which I resolved using the Chrome extension, but now some page-content error is throwing. The embed script is loading on the HTML page properly. Any Idea on how to fix this issue?
  • levi.design1-1267263623391350884

    Levi

    2

    1 year ago

    CMD+X deletes the entire page?
    Hi, I'm pretty new to toddle and I was trying to cut an element in order to paste it somewhere else. Maybe it's the designer in me, but I just used cmd+x to cut aaand my entire page that I had been working on just disappeared. With no option to undo? Unless I'm missing something this is completely crazy. I have been enjoying toddle so far but the fact that I can lose hours of work in under a second makes me want to invest my time elsewhere. Does anyone have any tips on how to get my page back or how to edit the shortcuts?
  • uunicode-1267245157334515733

    unicodes

    13

    1 year ago

    how to pass information from component (child) to parent.
    I used attributes to communicate between, but now I have a value stored in a variable (from a component), how to communicate that value to the parent?
  • larshaehre-1267072687482867792

    Lars Hæhre

    2

    1 year ago

    What would be the best way of verifying that a user is logged in?
    I want to verify that a user is logged in when accessing /dashboard page. Which one of these would you recommend?

    1. Doing an API call to Supabase (with the active access token) and see that it actually returns data (which would only be available if user is logged in).

    2. Checking if there is an active access token (somehow, just read if there is an access token stored in the session)?

    3. Any better options?

    Appreciate your perspectives on this one! 🤩
  • patrickmast-1266621237329793057

    Patrick Mast

    12

    1 year ago

    How to get previous URL (document.referrer)?
    I want to capture the previous URL. How can I obtain the document.referrer value?
  • ozmotaz-1266617402582630540

    Oz

    10

    1 year ago

    Error with API Login following Supabase+Toddle Tutorial
    Hey, I am following the Supabase to-do list tutorial for Toddle. I am fine up to the 25min mark - I get no data from the rest/v1/Tasks. If I delete tasks and leave blank it will show some data. I also see an error on mismatched uuid in supabase. Hoping to get some guidance on if some settings changed since that tutorial or if I'm missing something. I see the get requests in the logs. Attached are some relevant pics.
  • 526ue638jco734ypn-1266515747484598312

    Shlongus Humongous

    2
    1

    1 year ago

    Empty form element
    Hello guys, I was following the tutorial by Toddle, and discovered that the form element is empty.

    You can check it in the attached video.

    Is it due to the kind of browser I'm using? I'm using Arc, the latest version.
  • lucifer811-1266461086035611773

    Lucifer

    👍1
    🤔2
    12

    1 year ago

    Has anyone been successful in making a date range picker similar to Airbnb's?
    I'm trying to do this with the vanilla calendar package and using 2 date entry fields but unsure if this is the right approach. How would you all build this? I have an API connected to Xano that can accept 2 dates (start & end).
  • patrickmast-1266375161590845523

    Patrick Mast

    3

    1 year ago

    "Go To URL" in new window
    How can I use the "Go To URL" action to open the URL in a new window? The "Go To URL" action does not seem to have any parameters that allow this.
  • chieflemon_39702-1266272804899389460

    Chief Lemon

    1

    1 year ago

    Google OAuth + Xano with Toddle
    Hey guys, I've been trying to work on multiple authentication options for my app in Toddle. However, I can not get around to make the Google authentication to access my database in Xano.

    I've set up Google authentication in Xano and the tests running it have no issues, but when trying to make it work in Toddle I get stuck when trying to capture the code Google uses in its URL once is redirected to authenticate.

    There are videos on YouTube from Xano showing how to do it using Bubble and FlutterFlow as front end but nothing with Toddle. Any plans for this @Andreas Møller ?

    Has anyone have had success on this?