Help forum

  • Vizualinx

    4

    2 months ago

    Supabase image upload
  • Lord Almighty

    5

    2 months ago

    API Issue
  • saillmone

    4

    2 months ago

    FIND formula - wrong data
    Hi everyone, I have a problem with the Find formula.
    I feel like my Item.id is never browsed.

    the selectedOption variable is OK, it varies depending on the choice of the select.

    It's just that find always returns me id 11 (index 0).

    How can I do ?

    Thank you for your help and long live Toddle ❤️ ❤️ ❤️
  • benjabievres

    4

    2 months ago

    Building a confirmation dialog box
  • Leo

    2

    2 months ago

    Bind attribute to "select"
  • benjabievres

    3

    2 months ago

    Knowing a session expired
  • Jerry

    0

    2 months ago

    quick question; how to fix this post generation issue?
    Heyo! Before I used 'on success' to prepend the generatedPosts variable, but now with streaming it will create a seperate post in the array for a single 'on message' event. How can I still append complete posts but avoid the current sitatuon with streaming? thanks 😄
  • Sacharbonne 🤙🦥

    5

    2 months ago

    Help creating an API request through OPENAI or other LLM
    Hello, i'm starting building with Toddle, and to present a case, i'm building quick App to get CatFacts API + CatImagesApi. But all the facts are in english and i want to make an OpenAi call to translate the fact in French.

    But i struggle to construct the formula to handle the JSON body sending like in the screen.

    I only need chat completion for the moment : https://platform.openai.com/docs/api-reference/chat/create

    When i will understand how to build the API it will be fine for other endpoints.

    If anyone can help me ?
  • Armand

    1
    12

    2 months ago

    Passing page path parameters to a page: page loads twice/thrice
    My setup:
    I have several menu buttons that are used for navigation to other pages. For two of these buttons I want to pass not just the (static) page name, but also one or more dynamic values for the page path parameters. I use a formula for that.
    Furthermore, once the target-page is loaded, these page path parameters are used in a GET API call (as parameters) to determine what to get from my table in the database.

    My issue:
    This works in the sense that I end up on the correct page and the correct data gets loaded from the API and rendered on the page. However, for some reason, on the target-pages where I send the extra page path parameters, the page loads two or three times. In terms of performance it is not really an issue, but it is weird user experience if I just come arrive on page B from page A and when I click the previous page button I stay on page A, because I'd have to click it two (or three) times.

    I know that when page path parameters change this always counts as a page visit in the browser history. But that's the thing, the value of the whole url doesn't change (except for a query, but that doesn't shouldn't make a difference).

    I have played around with turning off the auto-fetch on the API that uses the page path parameters for its GET call, but it doesn't seem to make a difference.

    So what am I missing here or is there something that I'm just doing plain wrong?

    Thanks in advance 🙏
  • benjabievres

    5

    2 months ago

    Simplifying Formulas
    Hello, I want to do a Formula that checks the value of a variable and returns true or false, for an Array Filter.

    Users have a select box where they can select: on, off, all

    - when it's 'all" => always "true"
    - when it's 'on' => item.active=true => "true", item.active=false => "false"
    - when it's 'off' => item.active=false => "true", item.active=true => "false"

    I built the formula you can see on the screenshot, but I wanted to know if I could have done simpler.

    Can you please help me?

    Thanks

    Benjamin
  • Max

    2

    2 months ago

    DNS CNAME Problem
  • mdxwired

    55

    2 months ago

    Switch to new API UI breaks my Supabase calls
  • benjabievres

    1
    11

    2 months ago

    Having troubles with Session Cookies with any browser other than Chrome on Mac
    Hello,

    I built a new web app that asks users to log in and that stores an access_token in a session Cookie.
    It works well on Chrome in Mac (the one I used to build the web app), in normal and incognito mode, but when I use any other browser, the API calls I make contain an empty access_token.

    I tried on iPhone with Chrome, Safari and Firefox, as well as Safari on Mac, none work with my session Cookie.

    Note that I'm using the preview of the App.

    Is there any specific configuration I should do?

    Thanks.

    Benjamin
  • saillmone

    8

    2 months ago

    JSON data filters with Supabase
    Hi everyone !

    I have filter problems with JSON data with supabase.

    I'm trying to push supabase a little further than a simple table but I'm finding myself having difficulty.

    My API call without filter returns me the data. But as soon as I want to make a filter on the JSON "collections", impossible. I have a status code 200 but an empty response.


    "products_collections_variants?select=title,collections&collections->>slug=eq.incontinence"

    Can anyone guide me?

    Thank you!
  • Jehex

    4

    2 months ago

    API message "ERROR_CODE_NOT_FOUND"
    Hi there, sorry by advance it's probably something very easy to fix but I reopened an old project who was built under the api system v1, now when I try to call my api ( who work correctly on xano after test ) I get the error "ERROR_CODE_NOT_FOUND". All was good under the api v1, would like to know if something has to be modified ? Thanks

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.