Help forum

  • Lucvs

    1
    70

    2 months ago

    Injecting API response into jS script
    Hi there,

    I'm setting up a payment integration for our app, which requires API responses from a backend SDK we have hosted on AWS lambda.

    Upon a button click, I've tried to set the API responses as variables, and piece the variables together by concatenating the varibles with pieces of the script, and then injecting it into a script tag.

    For some reason this flow doesn't work, but when I just insert the scripts manually with the API responses they do work, thus I'm led to believe I'm doing something wrong in terms of injecting the API response into my jS function.

    Any ideas?
  • needtheanswers

    10

    2 months ago

    Font size increases when rotating my phone but doesn´t decrease after rotating it again.
    Hi,

    The font size increases when I rotate my phone (from portrait to landscape mode) but doesn´t decrease when rotate it again (landscape to portrait).
    This doesn´t happen on all text elements tho. I already tried to create a new page using the same component but the issue doesn´t seem to appear there?! Also it´s working fine on some other components.
    I don´t know what causes this and it´s already driving me nuts lol. Is it because of a parent div?

    Thanks a lot
  • Henk_BLUE

    10

    2 months ago

    Added font to default theme, but doesn't render correctly!
    Hi, I did some searching and the answers I stumble on seems mixed. Google Fonts are not supported (yet), and can be imported via CSS. But in the default theme pannel, I can add Poppins (a Google Font I want to use). The font example renders correctly, I can select it in the font dropdown, but the result does not render correctly, see image.

    Am I trying to do something that is not possible and should I resort to the CSS solution instead?
  • Alex

    3

    2 months ago

    404 Not found when embed the toddle app in wordpress
    Hi , I have create a widget to embed in wordpress. However, the api request is returning 404 not found in the network inspector on the wordpress site. I have confirmed the CORS is enabled in the wordpress site. Please help. Thanks!
  • PeterShaw

    6

    2 months ago

    Which node to use to show values not boolean
    I am creating a variable and I want the output to display the values but instead it shows true. Which node can I use to show the values?
  • PeterShaw

    4

    3 months ago

    repeated item not displayed in editor
    I want to repeat an item but it is not displayed in the editor. It is displayed when I open a new tab.

    I use RLS on my supabase table, I installed the extension, I pass the access token.

    Is there a way to make sure to act as a logged in user in the editor? THe way it worked before was to open a new tab, log in and then go back to the editor. But somehow that does not work.
  • Dimble

    2

    3 months ago

    API help on my first day
    Hi all! My very first look at Toddle today, I am trying to add an api, it is one that i have used before and trying to test by just sending a basic json request in the body. But i keep getting an Invalid JSON error.
    It is set up as POST, and the endpoint is correct, i just put the raw json as a string in the body to see if i get the right response. The same test works fine in Postman, returning the expected response. Is there something different about the way Toddle sends json post requests?
  • Janis

    10

    3 months ago

    [SOLVED] Supabase: Prevent non-registered users from using Magic Link Login
    I am using the /auth/v1/magiclink endpoint to allow users to login. However, the endpoint also allows non-registered users to create an account via the login route. I tried adding a shouldCreateUser attribute to the body object but that does not work.

    Does anyone have an idea how to restrict usage of the login endpoint to only registered users?
  • MartinF

    0

    3 months ago

    How to get access_token from local storage.
    I'm using supabase-js to manage auth. When a user logs in supabase-js adds the access-token and refresh_token etc to local storage. I have an event set up that let's me know when this happens so I can set session cookies and then use the access_token for api calls etc (if i understand correctly.)

    But how do i use get 'Get from local storage" to extract it. I've tried loads of different things and no joy. Any ideas?
  • Bankydoo

    6

    3 months ago

    xano to toddle
    Please does anyone have a very RECENT video connecting xano to toddle for sign up, login with authentications.

    newbie struggling here
  • Tom Baker

    6

    3 months ago

    Spreadsheets
    Truly sorry if this has been asked before, I did search but couldnt see what I was looking for.

    I did look at toddle a while ago but its been a while so starting fresh.

    How possible is it to build spreadsheet functionality into a toddle app. Not so much the formula, more as a database structure for my users.

    They would need to be able to add a column selecting a format such as text, number ect.

    The columns would need to be drag resizable.

    I was just thinking about integrating with airtable or google sheets but feel that building a natuve solution would allow greater future flexibility.

    Thanks in advance
  • Sean

    0

    3 months ago

    How to use Toddle Tailwind parser?
    I'd like to use some Tailwind UI components in my project. Toddle does have a Tailwind-to-Toddle library (https://discord.com/channels/972416966683926538/1282714913625608296/1282725287531909146) but I'm not sure how to use this. I install it on my local machine npm install @toddledev/tailwind-parser but then what? What do I need to do with the code provided? I'm not a coder so any help would be much appreciated.

    https://github.com/toddledev/tailwind-parser
  • PeterShaw

    9

    3 months ago

    Post more than one value
    Is it possible to post more than one value with one API call?

    I thought of creating an array and pass this array to Supabase. If this is the way to do it, how can I add values to this array?
  • NoCode Fred

    4

    3 months ago

    Copying multi-steps workflows: possible?
    This looks like a pretty dumb question, but I couldn't find a discussion about it.

    Is it possible to copy as a whole thing (and thus paste with a single CTRL-V) a workflow made of multiple steps?
    I can copy single steps, but only one-by-one apparently.
  • Vizualinx

    8

    3 months ago

    phone number mask (and country code)
    How can I implement phone number mask/formatting (based on country)?

    I want to implement something like in the screenshot

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.