Pricing Blog

Help forum

  • achivas-1319670501253185576

    A-Chivas

    24

    6 months ago

    Can I have multiple events in a components?
    Can I have multiple events in a components? also why do I have to type events in components? its really confusing, I need to assign multiple events and I am confused, plz help
  • z_xv2-1319652471202910249

    .

    0

    6 months ago

    Accidentally removed default Sans font in Themes
    Hello, accidentally deleted the default Sans font in Toddle from the Themes in the sidebar. Is there any way to get that back?
  • uunicode-1319650701517000754

    unicodes

    5

    6 months ago

    Join query help
    Hi, I have table cars, and table my_card. I want to :

    SELECT *
    FROM cars
    JOIN my_cars ON cars.id = my_cars.car_id
    WHERE my_cars.selected = TRUE;'

    It works with query on my_cars:

    'select=id,cars(*)&selected=eq.true,'

    but how to query cars and selecting based on my_cars?
  • alexsiale_17363-1319596059110146132

    Alex

    6

    6 months ago

    Table hidden on scroll...
    what am I doing wrong here???
    on scroll, the far right columns dissappear
  • buildingintoddle-1319433598583181423

    alain

    7

    6 months ago

    Referencing a variable in a formula breaks after triggering a formula that appends to that variable
    If you see the screenshot workoutData at the top of the image is "undefined" and upon refresh it is defined again. Whenever I append to a variable, does there need be a refresh that needs to take place before the event can happen again? Not sure if im explaining this correctly, any help is appreciated!
  • neville9288-1319433146797658124

    Neville

    0

    6 months ago

    Export theme colour variables from package?
    Hello folks,

    I've built a package with 1 exported component. In the package itself, I've defined a bunch of colours in the (Default) theme. How can I make those colour variables visible in anything I wrap in that component?

    I've read the documentation and I know I can export components, custom formulas, and custom actions. I'm now (laboriously) testing to see how I can use custom formulas to make them visible, but any help or suggestions will speed up the process, thanks!
  • ssssadsadasd-1319415619967258675

    ssssadsadasd

    9

    6 months ago

    Supabase returns 201 but no row is created
    Super weird situation that got me stuck.
    I want to insert a new supabase row and it returns a 201 (see pic). Also in the logs it shows that they were successful. The table has RLS disabled.
    However, no new row has been created in the table (as confirmed also by SQL queries).

    I have tried every possible configuration in the Toddle API but could not make it work. When I run the SQL in the Supabase dashboard it works though.

    any idea why this happens? thanks
  • rasacl_-1319370131062788138

    RasacL

    0

    6 months ago

    How do I subscribe to Supabase websocket and get latest data.
    I want to fetch some data that is being added to supabase using websocket connection and display the same in the UI. Right now, I am making too many API calls and that's affecting the performance on my supabase db, Please suggest me how to get the websocket connection working in toddle.dev.
  • yoelfdz-1319350469583310918

    yoelfdz

    9

    6 months ago

    Help modals keep showing up
    Love the new help modals/tutorials but for some reason they keep showing up. Any way to prevent that?
  • saillmone-1319325572198830141

    saillmone

    7

    6 months ago

    How to edit value of nested object
    Hello guys,
    I have a "data" variable which groups together several objects.
    I would like, for example, to modify the quantity of the variant items[1].

    I suspect that I should use the Set & get function but I cannot directly reach the right data.

    Can someone help me?

    Thanks guys!
  • tomthebigtree-1319304562217193563

    Tom Ireland

    27

    6 months ago

    Approaches to server side form validation - toddle x Supabase
    Hey, folks. Has anyone got any tips/tricks on how best to handle form validation server side when using toddle x Supabase?

    Is the answer to use Supabase Edge functions or CloudFlare Workers for this?

    Table constraints and RLS policy checks will only get you so far and I'm conscious of ensuring forms are properly validated, while reducing as much repetition fron end and server-side as possible.
  • ssssadsadasd-1319285688213966849

    ssssadsadasd

    0

    6 months ago

    Updating a list variable
    I am using the upload to set a variable called files.
    I set the file variable as event_target_value -> get files -> entries (see pic). This works fine.
    now, the second time I upload, I want to add the new files to the existing files variable list, and not start the list from empty.
    So, I use "array" where first parameter is "files" and the other parameter is "event_target_value -> get files -> entries" (see 2nd pic) hoping that it will merge the two but it simply starts from beginning and it only uploads the second set of files.

    do you have any idea how to solve this? thanks
  • jubilant_courgette_93644-1319110147196588092

    Dov

    3

    7 months ago

    Login page is setting cookie but not redirecting
    I have a login page which is receiving back from my server a token. It is being set correctly in cookie storage on the client, but the redirect does not trigger and the login page is reloaded.

    I can get the redirect page to load by either:
    (1) If I type the redirect url manually, then the page loads correctly (I can see that the token is being sent correctly - so the token has been saved).

    (2) Typing the credentials in a second time on to the login page and submitting, then the redirect works correctly (in this case the server will send a new token).

    What I have noticed from my server logs, is that after the first attempt to call the redirect, the server receives {{ cookies.access_token }}.

    When typing in manually (or after the second submit), the server is receiving the token. I have attached screenshots.

    The workflow is very simple (as attached).

    As per @Lucas G suggestion I put prevent default at the start of the submit workflow, but that has not helped in this case.

    Any pointers would be really appreciated.
  • higolol-1319002555698642944

    Higolol

    6

    7 months ago

    submit to API
    Help me to understand submit. I am testing in API test passes successfully, but when I press submit is not
  • miles1991-1318980270593933373

    Miles

    3

    7 months ago

    map multiple keys
    How do I get an array of objects with say 100 keys down to a new array of objects with just the 3 keys I want?

    I've tried the map formula but I can only seem to sepcify 1 key.

    Thanks