PricingBlog

Help forum

  • gabosca01-1280642676567572480

    Gabriel Salazar

    6

    1 year ago

    Hide component if clicked outside the component
    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.
  • lennartblmn-1280603918136639589

    lennartblmn

    4

    1 year ago

    Bind multiple checkbox values in a repeat to a variable
    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!
  • mdxwired-1280600509153022032

    mdxwired

    15

    1 year ago

    Supabase IMAGE file upload
    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?
  • abaxialeox-1280554318465863722

    Giorgio

    5

    1 year ago

    Is there a video / article on Google Auth in toddle?
    Just wondering 🙂
  • shiva_46019-1280471467804594187

    shiva

    3

    1 year ago

    should filter be added on the backend or in the frontend?
    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
  • uunicode-1280435165369471068

    unicodes

    4

    1 year ago

    Variable with JSON, connected to many inputs. How to edit just the binded value?
    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)?
  • neville9288-1280260422850580602

    Neville

    34

    1 year ago

    Need help with multi-image upload to Xano
    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!
  • jubilant_courgette_93644-1280190447205224530

    Dov

    5

    1 year ago

    404 when calling a google drive url
    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.
  • abaxialeox-1280187003610337422

    Giorgio

    5

    1 year ago

    Does Toddle automatically proxy/hide API calls on the frontend?
    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!
  • patrickmast-1280107055343997009

    Patrick Mast

    9

    1 year ago

    svg favicon in dark mode not working
    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/
  • jocenunes-1280072269208621127

    Joce Nunes

    1
    9

    1 year ago

    Data Not Loading on Branch Link Despite Working in Editor
    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!
  • patrickmast-1279865087867224156

    Patrick Mast

    6

    1 year ago

    How to set font from variable?
    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?
  • prettycold_-1279775892067061762

    Sam B

    1

    1 year ago

    If I do not select a value in a dropdown assuming the first value will be selected by default
    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?
  • tomthebigtree-1279751593973121054

    Tom Ireland

    18

    1 year ago

    Help with setting up magic link sign-up (Supabase)
    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.
  • needtheanswers-1279536349631877220

    needtheanswers

    66

    1 year ago

    Send list of UUIDs to xano
    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