Help forum
- How to select Distinct curl query?
unicodes
15 6 months ago
I 'm looking to select from a table all the unique values , is there a way to do it in curl ? - Multiple path tab setting -> go back
ssssadsadasd
23 6 months ago
When clicking a button I immediately set three url paths : tab1 , tab2 , tab3 . When the user clicks the back button in the browser I want the user to go the page where the user was when the button was clicked . but the user is redirected to the tab1 ,tab2 url . [see video ] ( https://vimeo.com/1043287886/ce6ed3573f?ts=0&share=copy ) how can I go immediately to the original page (without refreshing the page ) ? see [test page ] ( https://toddle.dev/projects/turquoise_o_en_lars_permanent_chicken/branches/start/components/test?leftpanel=design&canvas-width=800&canvas-height=800&rightpanel=events ) thanks - Calculation of variables does not show actual value immediately
ssssadsadasd
19 6 months ago
I have a reusable . The reusable has an attribute item = { "created _at " : "2025 -01 - 0 1 T 1 7 : 5 6 :04 .15182 + 0 0 :00 " } The reusable has a variable milliseconds = now - item .created _at (which translates in milliseconds ) . I use this variable because I do not want to calculate it for each if condition . The reusable has a text which translates to different time format : so if created _at is less than one minute = just now , less than 1 hour = x minutes etc . Suppose created _at is less than one hour . It should show immediately xm (inutes ) but it first shows the last item of the if condition and then correctly shows xm (inutes ) . [see video ] ( https://vimeo.com/1043286016/a2cc66cd60?ts=0&share=copy ) why does this happen ? here is the [test url ] ( https://toddle.dev/projects/turquoise_o_en_lars_permanent_chicken/branches/start/components/test?leftpanel=design&canvas-width=800&canvas-height=800&rightpanel=attributes ) . P .S . : make sure to change the value in the page to a date less than 1 hour prior - Layout issue - components are stacked/overflowing
needtheanswers
8 6 months ago
Hi , the height of my component doesn ´t seem to get recognized so now everything is stacked . I ´ve recreated everything here to make it more visible . Would appreciate any help , thanks - Set two path parameters at once: two slashes at the end
ssssadsadasd
10 6 months ago
I have three path parameters : tab1 , tab2 , tab3 . So my url is sth like : https://start.toddle.site/tab1/tab2/tab3 When clicking a button I want to go to url : https://start.toddle.site/tab1/ so remove the last two path parameters . To do so I create an event on a button and then do : set tab2 , set tab3 - > to empty . However , the resulting url is https://start.toddle.site/tab1// so two slashes at the end . I want only one . how can i achieve this ? thanks (see [this ] ( https://toddle.dev/projects/turquoise_o_en_lars_permanent_chicken/branches/start/components/test?leftpanel=design&rightpanel=events&canvas-width=867&canvas-height=800 ) as an example ) - Is there a way to export themes as a package for reusability?
Keviruchis
5 6 months ago
I 've managed to build out a specialized design system for my upcoming apps but the theme isn 't mentioned anywhere in the package docs . I was wondering if there was a way to export /import them to make it reusable . - Adapt size to width of parent div
ssssadsadasd
2 6 months ago
I have an image with aspect -ratio : 1 , max -width = max -height = 200px , and the parent div max -width = 600px . I want the size of this image to be 1 /3 of the parent size width . so e .g . parent div width = 600 - > image width and height = 200 parent div width = 300 - > image width and height = 100 how can I do so ? [here ] ( https://toddle.dev/projects/turquoise_o_en_lars_permanent_chicken/branches/start/components/test?leftpanel=design&canvas-width=867&canvas-height=800&rightpanel=style&selection=nodes.root ) a sample app to implement this thanks - Internal Server error
Leo
2 6 months ago
Is anyone else experiencing this issue ? I 've had this problem with one of my pages for quite some time now . - redirecting back to page after authentication
FouadTarabolsi
14 6 months ago
Hi there , I am still new to toddle , but I am happy on how fast I am progressing . I created many pages in my app including the login page . login page successfully redirects to the main page after authentication . I also was able to redirect the other pages to the login page if the user is not authenticated . now i am struggling with redirecting the user back to the page he requested instead of going to the default home page . I tried asking the AI and went through a few discord posts . i was not able to sort it out . - Object ID frome one API to API
Higolol
5 6 months ago
My task . Clicking on a result in the table would open a page with information about that result . The API that gives information about the result contains an ID that should be passed as a parameter to another API . How to do it ? - Style table row when clicked
Dov
3 6 months ago
Hi . I want to style a table row when it is clicked . I could use the following JS , but would rather to it in native toddle . Plus I don 't know how I could use a conditional style using this . document .querySelectorAll ( ' .table -row ' ) .forEach (row = > { row .addEventListener ( 'click ' , ( ) = > { / / Remove 'clicked ' class from all rows document .querySelectorAll ( ' .table -row ' ) .forEach (r = > r .classList .remove ( 'clicked ' ) ) ; / / Add 'clicked ' class to the selected row row .classList .add ( 'clicked ' ) ; } ) ; } ) ; - If text is True then green if Text false then Red
zefunha
2 6 months ago
Hi , for my landing page i am looking to have the text change style based on result , can you show me how to do this one . thank you - Buildship Open AI assistant streaming
knotshell
0 6 months ago
Hello ! I can 't get the OpenAI assistant streaming from buildship to work on toddle . The API response says 'Service Unavailable ' . The standard OpenAI stream response works just fine . If I put the buildship output to include the whole object from OpenAI assistant instead of just the streamed output , it shows up on the API response in toddle but the markdown block does not render this output at all . Is there something I 'm doing wrong ? thanks for the help ! - Simple question: how to remove repeat property (and 🔁 icon from element tree)
J.ulian
3 6 months ago
Many thanks in advance , I guess this is simple . Have removed all the logic . The same is with the show /hide attribute that is permanently visible in the element tree . - How do I create a global workflow?
A-Chivas
4 6 months ago
I have created a notification message and I need to set them on almost all create and update APIs , and I need to manually do it for like 20 api calls and this is success and error messages separate would be great if I could do them faster , is this possible ?