Help forum
- Set/remove focus of an input with a button
ssssadsadasd
1 13 days ago
[here ] ( https://toddle.dev/projects/moccasin_palpatine_chief_rook/branches/start/components/test7?canvas-width=800&rightpanel=events&selection=nodes.SO-WcyIVaJNQ7QsUqG6Io.events.click&canvas-height=1196 ) , I want to click a button and focus to an input with a certain id . so I give the input the id 'abc ' and when the button is clicked I do "focus : abc " but this does not work . any idea how to achieve this ? thanks - Set path from reusable error?
ssssadsadasd
5 13 days ago
Before when you set a path paramaeter from a reusable it did not show an error now it does even though the functionality still works . is there any issue with that ? - Modifying the array of a repeat element on button click
brob (bryanlrobinson)
16 13 days ago
I have a repeating element that has a button . When a user clicks that button , I want to increment one value in the array that matches the element that contained the button [{
item: 'data1',
count: 1
},
{
item:'data2',
count: 1
}
]I 've tried to set this up in a variety of ways and haven 't been able to find the right path (Still struggling with shifting my regular coding mental model over ) My thought was that onClick , I 'd access the index of the item in the array , and increment the count on that item (or use a piece of data on the object and run a find , update that object , then rewrite the variable ) , but I can 't seem to figure out how to update the array or make a new version with only that one item changed (i figure out a flow , but then can 't find a piece of data . - Migrate Project to another toddle account
Jonathan Ebot
8 14 days ago
Hey Team toddle , is possible to migrate a toddle project to another toddle account ? - make an URL clickable in chat output
Jerry
✅12 14 days ago
hey ! does anyone know how I can make this clickable ? this doesn 't work lol It gets rendered in a div block so not sure how to do this - How can I validate a password input?
scotlnd21
5 14 days ago
Hey all , I 'm trying to ensure that when a user enters a password , it must contain atleast : - 1 Lowercase character (abc ) - 1 Uppercase character (ABC ) - 1 Number (123 ) - 1 Special character ( ! @ # ) Would someone be able to give me some suggestions ? I know there 's the "pattern " attribute I can use on an input , but I 'm not sure if that would work in Toddle . If that doesn 't work , does anyone have a solution that 's more toddly ? - Difference between border and outline?
Isaias
1 15 days ago
I just can 't figure it out , which one should I be using ? is it not the same ? - Adding values in array of objects together
brob (bryanlrobinson)
✅15 15 days ago
If I have an Array Variable that has a structure like this : [{
someprop: "string goes here",
numberToAdd: 2
},
{
//...etc.
}]And I 've got a number variable that I want to create from the aggregate of all the numberToAdd from the array variable both on load and when the Array is updated with a new item . . . how would I do that ? I 've tried a few different potential paths with formulas and workflows , but I can 't seem to figure this out . . . - Borders in sticky div
ssssadsadasd
34 15 days ago
[Here ] ( https://toddle.dev/projects/moccasin_palpatine_chief_rook/branches/start/components/test6?rightpanel=style&selection=nodes.D1Bz3A3uG1lpv65lKGA-v&canvas-width=800&canvas-height=1196 ) I have a sticky group (grey ) at the top . Its parent has black left and right borders . However , the sticky group somehow overrides the left side and the black border is not visible . when I change the group to flex or sth else it works as expected . it seems to me the group is automatically pushed to the left by 1px . any idea why this happens ? thanks - Merge colour variables in themes
A-Chivas
0 15 days ago
Can we please have this , it will increase efficiency in terms of managing colours if we can do that - Themes: Create font size with CSS min() or clamp()?
Luca Heck
4 15 days ago
I have the problem that I have assigned variables for my font sizes . The H1 and H2 in particular are much too large on mobile . I would now like to adjust the variables in the theme with min ( ) or clamp ( ) . However , this is not accepted , at least it doesn 't work for me . How do you deal with this ? - Issue banner image / scaling
Jehex
0 15 days ago
Hi there , trying to set a banner ( img element ) into a div ( width 100 % / height 5rem ) , my banned has a resolution of 4000x2000 px but appear very blurry , would like to know how you guys handle resolution with uploaded images and how you deal with scaling / responsible design , thanks - irregular grid layout
Leo
13 16 days ago
Hey guys this seem really simple but I am having a hard time setting it up . I 'm trying to replicate an irregular grid layout like the attached image - Do not know how to trigger onRemove on dnd-list component - Spark Drag and Drop
Iwooo
0 16 days ago
Hi , I 'm struggling to find a way how to trigger onRemove event on dnd -list component from Spark Drag &Drop package . Once I remove something off my list (repeated ) it does not trigger anything only this error (which may or may not be related to my issue - I don 't know ) . I couldnt find any resources regarding events in that package (besides onEnd ) . Do anyone know how to trigger it ? - All Events Broken
NoCode ProCode
2 16 days ago
I used to have event callback from an action - and in that event callback I used to be able to add a sleep (tick ) and use the original events of the action in the tick of the delay - but now on the sleep in the tick even I use the original event I get null - I saw that @salma fixed event bubbling - would it have something to do with that (can we add a switch to allow bubbling - my whole app relies on that )