Pricing Blog

Help forum

  • neville9288-1309841137900720179

    Neville

    7

    7 months ago

    Default font
    I need some help understanding how fonts, inheritance etc works.
    What I would like to do: set the font once and have it show up everywhere.
    What I hoped would happen: set the font on the root div and have it show up everywhere
    What I think I have to do: set font:inherit in every element of the tree
    What I think I can also do: 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!
  • j.a.jj-1309839603531776050

    J.A.J

    1

    7 months ago

    Double clicking on the default "try now!" project's components results in empty page?
    is this normal?
  • uunicode-1309805418561667113

    unicodes

    4

    7 months ago

    Workflows, parameters isn't working.
    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?
  • nathandh.-1309729012964261928

    nathandh

    8

    7 months ago

    Component naming
    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?
  • frankenwompus-1309669211232145554

    Fisher

    4

    7 months ago

    On Load API calls?
    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?
  • zefunha-1309635257007472729

    zefunha

    19

    7 months ago

    List json key value pair
    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
  • patrickmast-1309600404652298271

    Patrick Mast

    2

    7 months ago

    How can a page determine if it is running in the editor?
    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?
  • matt_82432-1309409325478838303

    Matt

    6

    7 months ago

    Duplicate Child Component From Parent
    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.
  • tomthebigtree-1309300034256371752

    Tom Ireland

    6

    7 months ago

    Is there a way to programmatically get the window.location.href?
    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?
  • mossi9682-1309217054812934144

    mossi

    4

    7 months ago

    TypeError in exported web component
    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.ts:296:18
    at Array.forEach (<anonymous>)
    at createNode.ts:294:43
    at Ct.subscribe (signal.ts:35:5)
    at v (createNode.ts:188:18)
    at _ (createNode.ts:340:12)
    at createElement.ts:191:26
    at Array.forEach (<anonymous>)
    at po (createElement.ts:190:19)
    at m (createNode.ts:40:11)
  • burner918-1309215386394300457

    Sean

    39

    7 months ago

    Does an empty string evaluate to true or false?
    Why does an empty string here evaluate to true? I assumed that this would be false but this evaluates to true.
  • joel_linkai_16930-1309167539515035728

    Joel June

    7

    7 months ago

    Need help with styling tabs
    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?
  • benjabievres-1309122333214113873

    benjabievres

    6

    7 months ago

    How to keep user's preferences
    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
  • pinksaltwhitepepper-1308967896679972904

    PinkSaltWhitePepper

    14

    7 months ago

    Itunes Tutorial API trouble
    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.
  • lordalmighty_-1308884981895921736

    Lord Almighty

    45

    7 months ago

    How do I create an array with specific data from an api request?
    I've been trying to figure out how to put data from an api request into an array. I cant figure it out.