Help forum
- Default font
Neville
7 7 months ago
I need some help understanding how fonts , inheritance etc works . set the font once and have it show up everywhere . set the font on the root div and have it show up everywhere set f o n t :inherit in every element of the tree put custom CSS in the head of each page to force the font From browsing around here I believe a default font is somewhere on the roadmap . In the meantime , do I understand this correctly , and what options do I have ? Thanks for any help ! - Double clicking on the default "try now!" project's components results in empty page?
J.A.J
1 7 months ago
is this normal ? - Workflows, parameters isn't working.
unicodes
4 7 months ago
I have this workflow for "showing and hiding error messages . " I 'm passing a message (e .g . , a login error ) as input , but the parameter is null (the showing and hiding functionality is working fine ) . Could there be an issue with the parameters , or am I missing something ? - Component naming
nathandh
8 7 months ago
What toddle calls component “attributes ” , other typical web tech (like React generally or Webflow specifically ) calls “properties ” . When I see “attributes ” , I think data -attributes every time , which is not the same thing . Why the difference in naming convention ? - On Load API calls?
Fisher
4 7 months ago
I have a page , and On Load I want to set a bunch of things from an api call to variables . I do this several times to account for several different variables to set . My question is : Is this API call happening several times on load , one for each variable set ? If so , what is the better way to do this ? - List json key value pair
zefunha
19 7 months ago
Hi all , How do I list out the key value pair from a json object . At the moment am just listing the object only and not the key . Is there a way to list key in one div /list and the object in another - How can a page determine if it is running in the editor?
Patrick Mast
2 7 months ago
I have a workflow that triggers on “OnLoad . ” How can I prevent it from running while editing the page in the editor ? How can the page detect whether it ’s running in the editor or not ? - Duplicate Child Component From Parent
Matt
6 7 months ago
Hey guys , I 'm completely new to toddle and am trying to set up a 'habit tracking ' component that can create new child 'habit components ' when a user click the 'add habit button ' . I 've set up a click event on this button and believe i need to set up a repeat formula on the child component but can 't seem to get it working ! Any advice would be much appreciated . - Is there a way to programmatically get the window.location.href?
Tom Ireland
6 7 months ago
If I navigate to https://my.toddle.site/subscribers and I 'm not logged in , I get redirected to the login page to submit my email address and then verify my OTP (expected ) . I 'd like to be able to redirect the user back to /subscribers if login is successful . This would be the same for other pages a user might visit . Is it possible to grab the URL dynamically to set up a redirect and pass that along with the login flow ? My guess is query params in some way shape or form ? - TypeError in exported web component
mossi
4 7 months ago
I 'd appreciate any insights ; I made a simple component in toddle that has a few divs and a couple of APIs . I used the export snippet to embed the component in my website . My website is a CMS based site (Joomla ) with 3 themes /templates . The component works as expected only with of the themes and gives the following error when other themes are activated . Just to give more context , on the problematic themes , some elements still work and the issue is that only one of the divs in the component fails to render , and one of the apis fail to work . here is the error : TypeError : Cannot read properties of undefined (reading 'cleanup ' ) at createNode . t s : 2 9 6 :18 at Array .forEach ( <anonymous > ) at createNode . t s : 2 9 4 :43 at Ct .subscribe (signal . t s : 3 5 :5 ) at v (createNode . t s : 1 8 8 :18 ) at _ (createNode . t s : 3 4 0 :12 ) at createElement . t s : 1 9 1 :26 at Array .forEach ( <anonymous > ) at po (createElement . t s : 1 9 0 :19 ) at m (createNode . t s : 4 0 :11 ) - Does an empty string evaluate to true or false?
Sean
39 7 months ago
Why does an empty string here evaluate to true ? I assumed that this would be false but this evaluates to true . - Need help with styling tabs
Joel June
7 7 months ago
Hi guys ! I nam looking for some help surrounding Tabs . I am coming from Webflow where there are standard tabs components that you can style . I coudn 't find any tabs in the elements . For this reason I downloaded the shoelace components . I copied and pasted the tabs component on my project , but I can seem to put styles on some of the items . Can someone explain to me how I can edit the style ? - How to keep user's preferences
benjabievres
6 7 months ago
Hello ! I created a "checkbox " Input and a corresponding "showViewed " variable = > I will use the variable in a Filter to show only specific items . This part is fine , even if the formulas are a little more tricky since we have to use the "checked " attribute and not the value that is passed by the event . But , I would like to keep the user preferences so that it goes back next time the user opens the page . For this , I suppose that Local Storage is the way to go . I tried different things , but I can 't make it work properly (in 'preview ' mode ) . So , how can this be achieved ? (let 's call the Local Storage variable "showViewedLocal " . - The first time the user opens the web app in a browser , "showViewedLocal " doesn 't exist . - When should I load "showViewedLocal " ? on the onLoad event ? And shall I store this variable to "showViewed " - When should I store "showViewedLocal " ? on each "change " event of my checkbox ? If you know any tutorial I could use to learn , it would be great ! Thanks Benjamin - Itunes Tutorial API trouble
PinkSaltWhitePepper
14 7 months ago
I am having trouble getting the API to look or work right , and I am not able to get it like the tutorial . What am I doing wrong ? Thanks . - How do I create an array with specific data from an api request?
Lord Almighty
45 7 months ago
I 've been trying to figure out how to put data from an api request into an array . I cant figure it out .