Help forum
- Day 2: itunes search tool URL acting weird
Jerome
2 1 month ago
Sorry if this is a silly question but this URL is not giving the same output as it shows in the tutorial . Not sure how to drill into this data when it does as shown in the screenshot . - show more toggle on a repeat section
tristanbh
5 1 month ago
Hi all , I have a grid of repeating cards and would like each card to have a toggle to expand the info on each . I have the button working but it show /hides the info on all cards not just the card button thats clicked . I have a repeat key set up on the parent section already , do I need something similar for the div I am trying to show /hide ? This is my first project in toddle , I 've got a lot to learn but I have been very impressed with it so far . - Main Class on page/component
Vizualinx
3 1 month ago
I have components that a lot of elements need the same class (condition ) . Is there a way I can just create a class once and not have to redo it for each element ? (I know I can create one formula she reuse it for every class , but i will still have to create a class for every element ) - copy/paste component not working
Kleveland Bishop
12 1 month ago
could be me but im not able to paste any components into my project . regular elements work fine . any help ? thanks ! - Session timeout setting
Alex
5 2 months ago
Hey everyone , I ’m using Supabase for Auth and my customers are experiencing a session timeout where they are being logged out but still able to use the front end , which causes them to not be able to create new updates etc because they ’re not authenticated . How can I set the session to 24 hours or just unlimited ? - Accent Removal
Amiel Dylan
✅1✅125 2 months ago
Hello toddle community . I would like to design a function that does the following : removeAccents = (str ) = > { return str .replace ( / [ à á â ã ä å ] /g , 'a ' ) .replace ( / [ è é ê ë ] /g , 'e ' ) .replace ( / [ ì í î ï ] /g , 'i ' ) .replace ( / [ ò ó ô õ ö ] /g , 'o ' ) .replace ( / [ ù ú û ü ] /g , 'u ' ) .replace ( / [ ý ÿ ] /g , 'y ' ) .replace ( / [ ñ ] /g , 'n ' ) .replace ( / [ ç ] /g , 'c ' ) ; } ; But this is impossible without the use of several nested “ReplaceAll ” . Do you have any suggestions ? Thank you ! - Is there a way to check out a previous version without rolling back?
Danny
9 2 months ago
I 'd like to understand some of the changes I made from a previous version (2 versions ago ) , but I don 't want to permanently roll back and lose the changes in the past two versions . Is that possible ? - Retrieve row id from supabase
Vizualinx
8 2 months ago
i 'm trying to get back the id of a row when creating it by using return representation , for some reason i can 't see the response (i 'm trying to save it to a variable and show it in the text element ) . when i am doing auto fetch i am able to get the response but of course that is hammering supabase . it looks like the api is reloading after sending the data to supabase and setting the variable to null . - Developer seat for admin/billing user
Christiaan
4 2 months ago
I have a developer I 'd like to work on projects . I only want to log in to add billing info and check on payments later . Does this mean I need 2 developer seats ? I didn 't find any other way to get 2 accounts invited into an organization . - How do I use 100vh on an element when I'm developing?
Christiaan
26 2 months ago
If I stretch the viewport to auto -fit and set an element to 100vh then it takes up the entire viewport and everything below it is pushed to the bottom . If I change the viewport to something reasonable like 1920x1080 then viewport is a rectangle that only show the top but nothing below it . How do I do this exactly ? - How can I apply a hover effect to multiple elements in a card in Toddle?
Luca Heck
2 2 months ago
Hello everyone , I would like to create a card in Toddle in which several elements within the card receive their own hover effect when hovering over the entire card . For example , an image should enlarge and the text should change color when the card is hovered . Is it possible to implement this nativ in Toddle ? If so , how ? Thank you very much ! - Change theme variables based on viewport size
Christiaan
35 2 months ago
I 'm working on a responsve design . My headings all use REM but they are too big on small phones . I 'd like to change them based on the viewport size (media query ) . Is that possible ? Is the only way to currently do it by adding a custom media query Style on each heading element ? - popover api... dropdown that automatically updates to parent's width/position and page width
ssssadsadasd
9 2 months ago
I am not sure I understand this article on popover api [here ] ( https://toddle.dev/blog/no-more-dreadful-dropdowns-long-live-popover ) . it starts with the dropdown explanation (which is my objective ) . however , the youtube video only implements it such that the dropdown is shown only relative to the page . and the comment in the youtube video mentions that "the W3C is currently working on a spec for anchor positioning , where it will be possible to position the popover realtive to an other element on screen " which I guess means that this is not supposed for dropodowns yet ? ? ? another point is that it would be very helpful if in future videos you also have a link to the implementation explained . finally : what is the best way to build a dropdown that automatically updated to parent 's width /position and page width ? thanks - not sure, but condition on api parameter seems not to work?
ssssadsadasd
10 2 months ago
I have an api with a boolean input (see pic1 ) . on event = success of the api call , I have a switch based on that input (see pic2 ) . however , it seems the input is always valued as not true . even in you set the default value as = true in the editor , the value in the switch is undefined . thank you . - I need your help to understand this
unicodes
8 2 months ago
In many tutorials , I have seen this solution being used to show or hide content based on whether there is information in an API output . At first glance , it seems like it should return false , but it doesn ’t because the console log contains nothing . It ’s not a space or any visible character —it ’s something that has a "size " of zero but evaluates as true in a boolean context . I was looking for a quick solution to show and hide content , and the only approach I found was : API output > size > greater than 0 . However , this isn ’t perfect because it takes a fraction of a second to compute , causing unintended elements to briefly appear . Another approach I found was setting a default value of false for everything and updating it to true on load if the value exists . But this results in unnecessary variables in the app . What method do you use to show or hide content based on API output ?