PricingBlog

Help forum

  • benajaephrath-1271352277096992859

    BenajaEphrath

    3

    1 year ago

    API Path with Formulas
    Hi there,

    I am following Day 4 of the Black Jack API tutorial. When I set up my API as a formula, it doesn't automatically set all the API paths as shown in the tutorial. I have to set them manually. Why?
  • cudayou-1271316044971245672

    Ryan

    6

    1 year ago

    how to get actions event?
    I make a action that blow:
    async function getVideoStream (args, ctx) {
    try{
    const stream = await navigator.mediaDevices.getUserMedia({
    video:true
    })
    ctx.triggerActionEvent()
    const event = new Event({
    type:'get-video-stream-success',
    stream
    })
    ctx.triggerActionEvent('success',stream,event)
    }catch(error){
    ctx.triggerActionEvent('error',error)
    }
    }
    then i use it when click some element.
    i am trying to log the success event object to console. bug i can't find the event.
  • pixieinwonderland-1271143252669501442

    pixieinwonderland

    4

    1 year ago

    Offline Mode
    Can Toddle work offline? For example, if I make an API call to a database to retrieve the data, can Toddle store the data within the app, so that if the user loses internet connection, they can keep working with the data?
  • uunicode-1271126320847257651

    unicodes

    5

    1 year ago

    Can we change the background IMG based on the status of a variable?
    I have a variable (T/F) and based on that I want to change the background of a div. It is possible?
  • patrickmast-1271066074082971711

    Patrick Mast

    1

    1 year ago

    API calls in parallel
    I need to make 5 API calls when the user clicks a button. Can I run all 5 in parallel, or execute them one after the other?
  • plusmin-1271056352181092352

    Armand

    1
    11

    1 year ago

    Auto scroll to selected item on repeat list
    I have a vertical repeat list with 'overflow-y: auto' and there are 100 items on the list. When this list becomes visible I want it to automatically scroll to and highlight one item in this list (based on a variable). Does anyone have any idea how to do this?

    Current behavior: In dark video
    Desired behavior: In light video
  • yannis4310-1271027789616644167

    Dr.Dude

    1

    1 year ago

    How do you currently handle dev/staging/prod environments?
    Sorry if i missed a doc on that - AI help couldnt help me, too.

    I have some keys that differ on staging and prod environment.
    I assume I could create some variables for that, have the prod values on main and always change them to the staging variables on other branches but this doesnt feel to well...Especially when handling multiple components as a global variable is not really possible (right?)

    Any best practices on this?
  • switchman8850-1270897540211933214

    switchman8850

    7

    1 year ago

    Signup API call issues
    I have two issues that are occurring when I try and create a signup form that performs an API call to a xano signup. The first issue is that when I click Submit, the entire form essentially reloads/refreshes (as shown in the clip). And the second issue is that there actually isn't an API call occurring despite my setup being correct (I followed the todo list video tutorial in the docs on the website). Any ideas on how to resolve these two issues?
  • mdxwired-1270849965362647140

    mdxwired

    27

    1 year ago

    OpenAI Assistant API - Can Do In bubble
    Hey all. Small question. Probably a big answer.

    I need to prompt and retrieve answers from OpenAIs Assistant API, not Chat Completion.

    Unlike standard Chat Completion, the Assistant API does not automatically just return a response from your POST.

    You need to prompt it, tell it to run the prompt(s), and then keep checking back at intervals to see if a response is ready or not, then grab it.

    Doing this in bubble.io is, if still a bit of a PITA, at least very well-documented but I can't figure out how to do it in toddle.

    Thoughts? Help?

    Team toddle
  • patrickmast-1270681236637220918

    Patrick Mast

    18

    1 year ago

    How to show/hide element?
    When we create a new style class, we can set its condition based on the viewport width. Can we have a formula that returns the viewport width so we can also control the visibility of an element? For example, show the element only if the viewport width is greater than 375 pixels.
  • chromonav-1270673106981359657

    chromonav

    2

    1 year ago

    single page app experience
    Pages on toddle are server rendered (which is good) but navigation is also server driven.
    So there is a full page refresh instead of having a client side routing.

    For modern web application experience we need to have SPA experience across pages.

    Am i missing something or is it not present in toddle?
  • lukasmohr-1270652788246052875

    Lukas Mohr

    1
    4

    1 year ago

    Add values from a form to a list below the form with the selected values
    I have a form where I want the list the chosen values in a list below the form. The form consists of dropdowns and text inputs.

    I have been trying to search a bit, but haven't been able to find something to push me in the right direction yet.
  • alexsiale_17363-1270649901566656618

    Alex

    1

    1 year ago

    Single & Multi-image upload to Supabase
    I need support building upload and edit workflows from a toddle dashboard/CRM/portal to Supabase.

    Use cases:
    - CRM to upload property listings images
    - DIRECTORY to upload case study photos

    Has anyone built something similar?
  • patrickmast-1270599608354996276

    Patrick Mast

    1
    7

    1 year ago

    Navigate canvas in formula area
    How can I navigate in the formula area? I can use the scroll mouse and go up and down, but I have no means to go left/right. Can I "grab" the area with the mouse and move the canvas?
    Hmm, looks like we can also not "grab and move" on the main canvas anymore. Is this a bug? 😉
  • beameupskoti-1270485717369491568

    DameStJohn

    52

    1 year ago

    Vanilla Calendar or something different?
    I started building a web app with Webflow and Wized and with some time I was able to configure a unique Calendar UI. I'd like to rebuild this in Toddle. My particular use case requires:
    - a full calendar with selectable dates (past, present, future)
    - a full calendar with selectable dates (present and future)
    - a week (horizontal) calendar for both of these options

    The video link below provides an example of how the calendars function and render. Is this possible with Vanilla Calendar or should I build this out a different way?

    https://www.loom.com/share/acb7f1c0cda74b3784729e924bb93475