Help forum
- Input field not displaying the variable it is binded to
Ben H
16 5 months ago
I have a variable , customPrice , binded to an input field . In order to validate the input , I clamp the input event value when setting customPrice . customPrice gets set correctly , but the input field still displays the unclamped input despite being binded to customPrice . (See screenshots . ) How can I get the input field to update to reflect the clamped value ? - repeat over 2 data sources
mossi
15 5 months ago
I have a div that is repeated over an array from an api call . (user creation api ) . The div shows some user info and repeats it for users created . Once user is created they can create items . I have another api that gets the number of items each user created (gets this from db , based on user ID ) . In the repeated div I want to also show total number of items created for each user in their own repeated div . How do I do this ? - list selected items from api
zefunha
6 5 months ago
Hi guys , Can anyone point out how to list out selected items from a api array . Thanks - Filter data with "includes" in array
Julien
✅14 5 months ago
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 5 months ago
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 5 months ago
- Is it possible to set a page as 'draft' on toddle like you can on webflow?
Leon Marseglia
8 5 months ago
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 5 months ago
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 5 months ago
Currently the scroll bar looks off - Change Index of Item in an Array
Matthewcc
15 5 months ago
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 5 months ago
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 5 months ago
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 5 months ago
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 5 months ago
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 5 months ago
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