PricingBlog

Help forum

  • samuelt_19895-1282760144786296832

    Samuel T

    37

    1 year ago

    Zoom in on form
    How do I prevent zooming in on forms when focused?
  • shiva_46019-1282748059050315868

    shiva

    0

    1 year ago

    Pagination
    can someone teach me how to create pagination from scratch?
  • prettycold_-1282687150365610024

    Sam B

    9

    1 year ago

    Blocked navigation to a page. What can be the reason?
    I have a log in page, and I use xano as backend. My login works well, it returns what it needs to return.

    I added a switch in the success of form submit event, to navigate to different pages depending on a boolean value. It always seem to throw Blocked navigation.

    And this is my switch. See anything amiss?
  • patrickmast-1282639608693133355

    Patrick Mast

    35

    1 year ago

    Multiple 'scroll' events in console.
    On https://list-of-tlds.com, when you scroll through the list of TLDs, I receive multiple events, as shown in the image. Where are these logs originating from? I don't have any logging functionality in the app. Could the Toddle engine be logging these events?
  • mesmoiron-1282502865713106994

    mesmoiron

    6

    1 year ago

    How to think about custom CSS styling. Can you put it somewhere?
    As an exercise, I am trying to recreate an accordion element. The idea is in code. How do you translate that to no code? The idea can be found here:
    https://codepen.io/ShadowShahriar/pen/LYgeNLB?editors=0110

    Do I just make attributes? We have formulas for custom code. Do we need something like that for custom css or do I think too difficult about it.
  • uunicode-1282414165952041075

    unicodes

    26

    1 year ago

    Same function, different Args doesn't work, why?
    the date args return - Mon Jan 01 2024 02:00:00 GMT+0200 (Eastern European Standard Time)

    the date1 args return Invalid Date.

    the input is the same.

    Why this is happening?
  • frankenwompus-1282373941591019640

    Fisher

    6

    1 year ago

    Select Item font issue?
    I was sure I'd had a setting or something messed up, because all of my Select items' font looked like wingdings no matter what I did. So I got fed up and decided to try and copy from the JobBoard project in the Showcase channel, but those also look like that to me, even within the JobBoard's editor!

    Even if I open the full JobBoard site in a new window, it still shows as those things. Can anyone help me sort out what's going on here? I already don't have much hair left and I can't afford to pull any more out!
  • patrickmast-1282317955559981097

    Patrick Mast

    3

    1 year ago

    How can I add the Canonical link in the header of my web page?
    I need to add the Canonical link to my HTTP header:
    <link rel="canonical" href="https://www.example.com/page-url" />
    How do I do that in Toddle?
  • neville9288-1282302558450356284

    Neville

    1

    1 year ago

    Unexpected behaviour in file input -> set variable?
    I'm seeing this behaviour with a file input element and setting a variable:
    - On the input event, I log to console: event -> target -> get(files) -> get([0])
    - I then set the variable to exactly the same: event -> target -> get(files) -> get([0])
    - I then log the variable to the console
    On the first input, the event data is as expected and the variable is set to the event data

    On the second input, the event data is as expected (the new file) but the variable is not updated.

    The only way I can work around this is to set the variable to nul before assigning it the event data. Not sure if I'm using the correct event (input)?

    I'm attaching a screenshot of the console log, and I have a little demo project that demonstrates the behaviour if anyone wants to take a look.
    Thanks!
  • gcwer-1282136696305221723

    Gabriel

    3

    1 year ago

    Protecting API - CORS & Proxy
    Hi everyone!
    I'm trying to protect my API secret keys by proxying the calls through my backend (Xano). To add some extra layer of security, I thought about setting some CORS rules, to make sure the calls to Xano are from my Toddle fronte end. It doesnt make sense to protect this APIs with user authentication.

    I saw i'ts common to use the origin url. But when I make the API call from Toddle to other services, I'm not getting any the Origin URL in the header. Do you guys have any other recommendation? Does it really help security or anyone could pass a origin URL?

    Any opinion if it would it be worth it deactivating the Proxy in the API calls to be able to get origin url?
  • asad_90597-1282065311117475860

    asad

    9

    1 year ago

    editor authorization problem
    when a user signs in in the live app i can fetch the api from supabase (rls is enabled) and i get the data. but in the editor on the api request i get no data
    i've downloaded the toddle extension and the log in form on success saves the access token to the session cookie.
  • shiva_46019-1282002250184527913

    shiva

    10

    1 year ago

    Noob alert, how to formart something like this?
    {"line1":"16 Boundary Stone Lane","line2":null,"city":"Widnes","postal_code":"WA8 3AJ","country":"UK","type":"billing","addressee"}
  • shiva_46019-1281963332445929483

    shiva

    6

    1 year ago

    Custom fonts globally
    How do I add a custom font so that I can select it globally?
  • neville9288-1281949898060595221

    Neville

    20

    1 year ago

    Call API for each item in an array?
    I need to call an API for each item in an array. I understand the Toddle way is to use Map to iterate over the array, but I can't quite figure out how to do it.

    Context: I need to upload a list of images to Xano. I want to do this for each image individually so I can show the user how many images have been uploaded and how many remain. (And also because I can't figure out how to upload multiple images to Xano in a single API call.)

    Here's what I (think) I know:
    - The images live in an array populated from a file input.
    - Each API call is a POST
    - I obviously need to wrap each image in an object in the body of the post

    The attached image shows what I think is the right approach, but I'm not even sure if this is the right approach.

    Am I heading in the right direction?
    Thanks!
  • uunicode-1281860128294965269

    unicodes

    4

    1 year ago

    Why can't a variable formula select variables as inputs?
    For example a P tag can select as input variables, but a variable formula can't.