Help forum
- Export theme colour variables from package?

Neville
0 10 months ago
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 ! - Supabase returns 201 but no row is created

ssssadsadasd
9 10 months ago
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 - How do I subscribe to Supabase websocket and get latest data.
RasacL
0 10 months ago
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 . - Help modals keep showing up
yoelfdz
9 10 months ago
Love the new help modals /tutorials but for some reason they keep showing up . Any way to prevent that ? - How to edit value of nested object

saillmone
7 10 months ago
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 ! - Approaches to server side form validation - toddle x Supabase
Tom Ireland
27 10 months ago
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 . - Login page is setting cookie but not redirecting

Dov
3 10 months ago
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 . - submit to API

Higolol
6 10 months ago
Help me to understand submit . I am testing in API test passes successfully , but when I press submit is not - map multiple keys
Miles
3 10 months ago
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 - Adding a script tag just before </body>

Charlie
🥲10 10 months ago
I 'm trying to load a 3rd party script that needs to be in the body but keeps coming back with the error : Code found in the page <head > . Please place code directly before the < /body > I 've tried it as a component , setting script type to module , as the last element on the page but nothing seems to be working . The code snippet is pretty basic - example below : <script type = "text /javascript " > var vglnk = {key : '454b80f1502c ' } ; (function (d , t ) {var s = d .createElement (t ) ; s .type = 'text /javascript ' ;s .async = true ; s .src = ' / /cdn .viglink .com /api /vglnk .js ' ; var r = d .getElementsByTagName (t ) [0 ] ; r .parentNode .insertBefore (s , r ) ; } (document , 'script ' ) ) ; < /script > Any advice on how to get around this error ? - How do I style the markdown block plugin?
Muffin
1 10 months ago
- How do I change page metadata?
Chris from Xano
✅12 10 months ago
Can 't seem to find the option for this . It just shares as "Toddle template " / "A blank template from toddle " . I 'm sure I 'm missing something obvious , but would appreciate any pointers . Thanks ! - [SOLVED] how do i get the total rows of data when when using supabase range

asad
1 10 months ago
i 'm implementing pagination and using range , the problem is how do i know the total rows of the data . - Dialog Box: Best practices

benjabievres
0 10 months ago
Hello , can you please tell me what are the advantages or caveats to use Javascript "Alerts " versus a fully built Dialog box like the one explained by the excellent and straightforward video [here ] ( https://youtube.com/shorts/cTay-PA5AS4?si=fP0gQfHKcnJ_YsC4 ) . ? So far I found another tutorial that teaches the use of Javascript to create an Alert box . But my phone complains after the second time an alert is displayed (it offers me to block any new alert box ) , so I was wondering if it 's a good practice to use that instead of creating a Dialog Component . Thanks 😊 - How to call API in a map function ?

saillmone
6 10 months ago
Hey , How can I call the API x times running in the map ? I have a "title " input where I would like to send the data "M " , "L " , "XL " . This means that I have to make 3 API calls . I watched several videos , used the AI but I can 't do it . Can anyone help me ? THANKS !
