Help forum
- Injecting API response into jS script
Lucvs
✅170 2 months ago
19 Oct 2024, 00:16
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 ? - Font size increases when rotating my phone but doesn´t decrease after rotating it again.
needtheanswers
10 2 months ago
18 Oct 2024, 14:32
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 - Added font to default theme, but doesn't render correctly!
Henk_BLUE
10 2 months ago
18 Oct 2024, 09:06
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 ? - 404 Not found when embed the toddle app in wordpress
Alex
3 2 months ago
18 Oct 2024, 07:42
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 ! - Which node to use to show values not boolean
PeterShaw
6 2 months ago
17 Oct 2024, 11:53
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 ? - repeated item not displayed in editor
PeterShaw
4 3 months ago
17 Oct 2024, 08:53
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 . - API help on my first day
Dimble
2 3 months ago
16 Oct 2024, 21:09
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 ? - [SOLVED] Supabase: Prevent non-registered users from using Magic Link Login
Janis
10 3 months ago
16 Oct 2024, 14:35
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 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 ? - How to get access_token from local storage.
MartinF
0 3 months ago
16 Oct 2024, 13:05
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 ? - xano to toddle
Bankydoo
6 3 months ago
16 Oct 2024, 09:45
Please does anyone have a very RECENT video connecting xano to toddle for sign up , login with authentications . newbie struggling here - Spreadsheets
Tom Baker
6 3 months ago
16 Oct 2024, 09:09
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 - How to use Toddle Tailwind parser?
Sean
0 3 months ago
15 Oct 2024, 13:25
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 - Post more than one value
PeterShaw
9 3 months ago
15 Oct 2024, 11:55
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 ? - Copying multi-steps workflows: possible?
NoCode Fred
4 3 months ago
15 Oct 2024, 09:05
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 . - phone number mask (and country code)
Vizualinx
8 3 months ago
15 Oct 2024, 07:56
How can I implement phone number mask /formatting (based on country ) ? I want to implement something like in the screenshot