Help forum
- Filter data with "includes" in array
Julien
✅14 3 months ago
13 Oct 2024, 20:04
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 ! - is there a way to pause a lottie only in the designer as it's making my canvas laggy?
Leon Marseglia
2 3 months ago
13 Oct 2024, 12:42
is there a way to pause a lottie only in the designer as it 's making my canvas laggy ? - My Navigator items suddenly disappeared
Roco
9 3 months ago
13 Oct 2024, 11:16
- Is it possible to set a page as 'draft' on toddle like you can on webflow?
Leon Marseglia
8 3 months ago
12 Oct 2024, 21:05
I want to have a page where I can nicely layout my components visually but don 't want it on the live site - responsive navbar component
Bankydoo
3 3 months ago
12 Oct 2024, 06:01
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 - Is there a way to style the browser scroll bar?
Seun Orofin
4 4 months ago
11 Oct 2024, 14:37
Currently the scroll bar looks off - Change Index of Item in an Array
Matthewcc
15 4 months ago
11 Oct 2024, 14:19
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 . - Issue getting formula to recalculate on variable change
Danny
9 4 months ago
10 Oct 2024, 19:27
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 - Select Option Styling
Fisher
11 4 months ago
10 Oct 2024, 16:49
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 ! - Checking type of input best practice
Tom Ireland
2 4 months ago
10 Oct 2024, 08:43
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 . 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 . - Trouble using the Set formula
Danny
28 4 months ago
10 Oct 2024, 04:46
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 . - Error 526 Cloudflare
Dynamiko
29 4 months ago
9 Oct 2024, 18:40
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 - delete objects from an array
Suavius
🔥18 4 months ago
9 Oct 2024, 15:19
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 . . - How do i implement a copy image to clipboard functionality in toddle?
Seun Orofin
9 4 months ago
9 Oct 2024, 13:28
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 ? - Is there a tutorial on building apps in toddle with coding help from cursor? Thanks
OSBERT
5 4 months ago
9 Oct 2024, 09:53
Is there a tutorial on building apps in toddle with coding help from cursor ? Thanks