Help forum
- Hide component if clicked outside the component
Gabriel Salazar
6 1 year ago
I have created a component that will perform the function of a dropdown , I want it to hide when the user clicks outside of it . - Bind multiple checkbox values in a repeat to a variable
lennartblmn
4 1 year ago
I 'm trying to let users add a pre determined selection of categories . so im getting my list of all categories from xano , and then the user should be able to pick the categories he likes - and then send that back to xano to a related table . how can i put the values of these ceckboxes into a variable array ? Thanks ! - Supabase IMAGE file upload
mdxwired
15 1 year ago
Hi all . Regarding file uploads to Supabase . . . I have followed the instructions from @Erik Beuschau at https://discord.com/channels/972416966683926538/1040267068412534785/1126116566929510420 but this does not seem to be resulting in my being able to upload a recognizable and usable IMAGE file . Both of my API calls are working , or at least not erroring , but I keep getting files in Supabase NAMED blahblah .png but containing only 2 - 11 bytes of information . I have my acceptable mime types on the back -end set to wide open for the moment . I even have my in -API Content -type Header being dynamically determined by the file type meta -data . . . and the image preview in -app works fine (see attached ) but still cannot crack this . Thoughts ? - Is there a video / article on Google Auth in toddle?
Giorgio
5 1 year ago
Just wondering 🙂 - should filter be added on the backend or in the frontend?

shiva
3 1 year ago
Try to figure out what iss best practice should a filter code be added in the backend or frontend if we have 1000s of records - Variable with JSON, connected to many inputs. How to edit just the binded value?
unicodes
4 1 year ago
I have many inputs connected to a variable JSON . Example 2 inputs first name and last name and the variable : { "last -name " : "Doe " , "first -name " : "John " } Inputs are binded to the first and last name . When editing one input it change all the inputs in undefined . Why is not editing just the binded value (for example : first -name ) ? - Need help with multi-image upload to Xano

Neville
34 1 year ago
I can successfully upload single files to Xano using @NoCode ProCode 's technique of "get "ting item [0 ] from a file picker file list . I 'm trying the same thing with multiple image files , but no matter how I format the data going to Xano I get some kind of error message , most often "Value is not properly formed . " The Xano API endpoint is a POST request with a single file resource param called image _files which is set to a list (not single ) . In Toddle , I use a file picker component (really just a file input field ) which returns a filelist just fine , and I extract the event /target /files from that , which gives me an array of files . The API call wraps the file list in an object with the name matching what Xano is expecting , is not proxied , and is multipart /form -data , with no authentication . I think the answer is somewhere in how I prep and wrap the data from the file input field , but I 'm stuck . . . . 😢 Any help / pointers much appreciated ! - 404 when calling a google drive url

Dov
5 1 year ago
Hi I am creating a url dynamically and then calling it via a custom action . If I try to open it via the custom action I get a 404 . Then , if I copy the url , paste into a new window , close it and then open via toddle it opens . I presume this is to do with authentication , but it only opens that document . Trying another does not open . - Does Toddle automatically proxy/hide API calls on the frontend?
Giorgio
5 1 year ago
Hi ! When I call OpenAI 's API from Bubble .io , the platform seems to automatically hide the API key as I can 't find it on the frontend . Other bubble devs I know also confirmed . Is it the same here in Toddle ? I followed a tutorial to create an image gen app and the teacher said we should run the call through a backend . While I understand that 's best practice , is it required ? Thanks ! - svg favicon in dark mode not working
Patrick Mast
9 1 year ago
I have an SVG icon that includes CSS to ensure the icon is drawn in white when the browser is in dark mode . However , I can 't get it to work . Here is the demo URL to test : https://start-test_svg_icon_in_dark_mode.toddle.site/ - Data Not Loading on Branch Link Despite Working in Editor
Joce Nunes
✅19 1 year ago
I 'm facing an unexpected issue . In the development environment , in the editor , all the data is displayed correctly (as shown in the video ) . However , when I open the branch link , the data is not loading . At first , I thought it might be an error with the APIs , but I checked , and they are working correctly in the editor . Additionally , there are no errors in the Xano log . https://ooo.mmhmm.app/watch/z_W7G1dtaoGA4dwUIRRZ0b I 've also noticed that no events are being triggered —clicking buttons , inputs , and other interactions aren 't working at all . I 'm not sure how to resolve this . Could you help me figure out what might be happening ? Thank you ! - How to set font from variable?
Patrick Mast
6 1 year ago
I have a variable that stores the name of a font . How can I set the font of a textarea to the font specified in the variable ? - If I do not select a value in a dropdown assuming the first value will be selected by default

Sam B
1 1 year ago
I have a dropdown in my screen . I did not give "Choose something " as a first value . Instead gave my 3 actual values . I 've written change event on select and I 'm able to pass the selected value if only I manually select a value , even the first one . Is there any way where the first value is passed by default . I can think of two options : 1 . Use a IF condition and if the value is null , use the first value else use the selected value 2 . Add "Choose a value " as the first entry and if value = null , then return an error What 's the general strategy to handle value setting in drop down ? - Help with setting up magic link sign-up (Supabase)
Tom Ireland
18 1 year ago
Hey , toddle community . I 'm currently working on setting up magic link auth via Supabase using the API but struggling to set the session cookies . Obviously , until you use the magic link , you 're not authenticated , so I need a way of setting the session cookie before I redirect the user to the homepage . The URL contains the access token , so am I retrieving it from there ? I have the hacky auth check in a component on the homepage to ensure that if the user is not authenticated then they 're redirected to the login page but I 'm not sure when (and the best way ) to grab the access token . When using email and password , you 're setting it as soon as you do the login API call but that 's not the case for magic link . - Send list of UUIDs to xano

needtheanswers
66 1 year ago
How do I send a list /an array of UUIDs to xano using a POST request ? My array is stored in a variable but when I try to send it to my db it says that the input is not a valid UUID . I tried sending it in the body and as a query . It works when testing it in xano . Thanks

.jpeg/public)