PricingBlog

Help forum

  • 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
  • needtheanswers-1279508360713994250

    needtheanswers

    1
    3

    1 year ago

    Add and remove product tags/ add to or remove from array
    Lets say I have a xano db table for products and another one for tags. One field in the products table includes a list of table references to the tags table. On default the list for tags in the products table is empty.

    In Toddle I have a form to add a new product and the form includes all the available tags that are rendered based on my get_tags api. Each tag has an id, a name and a boolean called 'added' that is always false (just to make it easier for myself). On change (I use checkboxes with labels) I want to add the tag and when I uncheck I want to remove it. Obviously I don´t want to add or remove any tag if the product form is not completely filled out (name, description, etc) because the product is gets created on form submit.
    How would you go about this?

    My approach was:
    1) create a variable called tags_array which is just an empty array
    2) render the checkboxes based on the api and also set the value based on the api
    3) try (emphasis on try!) to and or remove the tags_id based on the value of the checkbox.

    The problem is that my formula adds tags but doesn´t remove them when I uncheck the checkbox. How can I solve this or has anyone a better approach?

    Thanks
  • mdxwired-1279501573499650151

    mdxwired

    15

    1 year ago

    I accidentally deleted page contents!!!
    Help. Anyone! I copied a page and then went to work gettin grid of all of the parts that I did not need. THEN I accidentally went back to the original page (that I have spent weeks on) and deleted all of the same contents... rendering it useless. I forgot to branch before I copied. Oh HELL!!! Please tell me that that two weeks of very detailed work is NOT gone forever!
  • alfred_66594-1279496253981593630

    Alfred

    4

    1 year ago

    Practices for creating test data for dynamic context while working in the editor.
    I have tried to create a simple global formula for providing test data to components that rely on dynamic context data. I'm using this function for things like API calls, local storage, and page parameters to have some 'dummy data' while working on my components. My question is: would this be considered bad practice, or are there alternative approaches I should consider?
  • abaxialeox-1279487631222378527

    Giorgio

    3

    1 year ago

    Alternative to Xano for small tools
    Hi!

    Is there any alternative to Xano that's GDPR compliant without the $99/m price tag? I love it, but the cost is a bit steep for what I'm trying to do now (basically a wrapper for an API, but I need to auth requests).

    I'm happy to pay for Xano once this scales, but would love to know if there's an alternative in the meantime.

    (Xano's free plan is not GDPR compliant, afaik)