Help forum

  • julienboid-1295114974724620320

    Julien

    1
    4

    3 months ago

    Filter data with "includes" in array
    Hi, I’m working on a scenario where I need to filter events based on their unique IDs. I have an array of event IDs, and I want the system to only let through those events whose IDs match the ones in a array. The goal is to ensure that only the events included in the predefined list are processed.

    Specifically, I’d like to understand how to effectively compare the event objects and filter based on this list.

    I have created data exemple on a screenshot

    Thanks in advance for your help!
  • leonmarseglia-1295003806551248949

    Leon Marseglia

    2

    3 months ago

    is there a way to pause a lottie only in the designer as it's making my canvas laggy?
    is there a way to pause a lottie only in the designer as it's making my canvas laggy?
  • rocol0co-1294982086012305539

    Roco

    9

    3 months ago

    My Navigator items suddenly disappeared
  • leonmarseglia-1294768054001205248

    Leon Marseglia

    8

    3 months ago

    Is it possible to set a page as 'draft' on toddle like you can on webflow?
    I want to have a page where I can nicely layout my components visually but don't want it on the live site
  • banks7191-1294540556164399114

    Bankydoo

    3

    3 months ago

    responsive navbar component
    hi. very visual learner here
    trying to reverse engineer the jobs cool navbar and almost crossed the line but my kebab refused to disappear above 540px

    its responsive but with just that issue.

    can you help
    https://www.loom.com/share/5defced1020a40b993afd4ed199ffa78?sid=b6105a6b-a1a0-4788-b7c1-40c8d2fe841e
  • carterux-1294307868786425876

    Seun Orofin

    4

    4 months ago

    Is there a way to style the browser scroll bar?
    Currently the scroll bar looks off
  • matthewcc119-1294303453639610428

    Matthewcc

    15

    4 months ago

    Change Index of Item in an Array
    Are there any Toddle resources on the best method to change the index of an item in an array? Trying to implement functionality for the arrow buttons to move the current value of an object up or down. Couldn't seem to find anything here on Discord or in the docs. Thanks in advance.
  • dfeinberg5-1294018558816293007

    Danny

    9

    4 months ago

    Issue getting formula to recalculate on variable change
    I have a formula that sums certain values, as shown in the video. The values are based on a variable. When I update one of the values in the variable the total is meant to update automatically. This happens the first time I update the value, but on subsequent updates it doesn't seem to work.

    I'm wondering if this is a bug, there's some kind of caching I'm not aware of, or if I might be doing something wrong.

    https://www.loom.com/share/350e79ed6906469dab7b9cddcdcc410b?sid=d93b29eb-d547-4529-9878-eba1433c5c69
  • frankenwompus-1293978852313403463

    Fisher

    11

    4 months ago

    Select Option Styling
    Does anyone know how to style an Option in a Select / Drop Down? I have the attached photo going on, but I'd like the "+6", "+5" and "+1" to be different colors. I already have that showing only if certain criteria are met via a formula. You can see that the different parts of the text are broken out into different h4's for this purpose, but for whatever reason changing the style on the h4's don't affect those parts at all. Changing the "option" styling does change things, but I don't want the whole thing changed, just the last bit.

    Thanks!
  • tomthebigtree-1293856387088257045

    Tom Ireland

    2

    4 months ago

    Checking type of input best practice
    Hey, community and toddle-hero's. I discovered an issue in my workflow earlier where I was checking if an array was empty to then set a variable value. The problem was that this kept returning the variable value as undefined. After some time and head scratching, I found out that the array I was trying to check was actually an object. 🤦‍♂️

    The array check I'm doing is actually a formula that accepts an input, which means I can use this formula to check if any array I pass in is empty or not and then apply some additional logic.

    Now, I know I can use Type of to check what the input type is but I'm trying to figure out where this best belongs. Should I be checking this within the formula itself for what is passed in as the argument or should I be checking this when using the formula? The logic is that I can have some kind of internal error checking to ensure that I'm setting everything correctly.

    Video explainer: https://www.youtube.com/watch?v=hAcCbPrYi-o

    See image for output based on my formula, which I think works well and will prevent me adding the wrong input type.
  • dfeinberg5-1293796795226394634

    Danny

    28

    4 months ago

    Trouble using the Set formula
    Hi all! I'm hoping someone can help me understand how the set formula works.

    Let's say I have the following array of objects and I want to update the value of Item 2 to 250.
    [
    {
    "id": "123",
    "name": "Item 1",
    "value": 100
    },
    {
    "id": "456",
    "name": "Item 2",
    "value": 200
    },
    {
    "id": "789",
    "name": "Item 3",
    "value": 300
    }
    ]


    I would think that I could do something like the first image, but that returns null I think because it's expecting an object as the first argument. So then if I back up one level, it seems like it's working (second image). However, it's only returning that final object.

    Can someone help me understand how I can get my full array back with just a value in it changed? I'm guessing this is super easy and there's just something I'm missing.
  • dynamiko1318-1293644181205684254

    Dynamiko

    29

    4 months ago

    Error 526 Cloudflare
    Can anyone help me. Do http request APIs using sites with cloudflare work with toddle? because I configured my API on a personal site that redirects the DNS with cloudflare but it doesn't work (error 526) while on another nocode platform the APIs work
  • suavius-1293593654551904401

    Suavius

    🔥1
    8

    4 months ago

    delete objects from an array
    Hi! Hope someone can help me, been struggling for days. I am trying to make an event that will check if an object already exist within an array based on an item_id, delete it if it exist or append it if it does not. The purpose is to collect all items that are selected in an array that will be sent in the body of an api. I am not sure if this is even the best way to do it or not. Any help or feedback is greatly appreciated! Added a screenshot of my current formula. I am able to append and delete, but the deletion is super random and not the element I clicked..
  • carterux-1293565755056721920

    Seun Orofin

    9

    4 months ago

    How do i implement a copy image to clipboard functionality in toddle?
    I am tyring to create a simple app that allows users to copy the image in the preview and paste it into their figma canvas..

    How can i achieve this?
  • shonenshonen-1293511601135161354

    OSBERT

    5

    4 months ago

    Is there a tutorial on building apps in toddle with coding help from cursor? Thanks
    Is there a tutorial on building apps in toddle with coding help from cursor? Thanks

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.