Pricing Blog

Help forum

  • kingdragxn-1330679641958256762

    Jay | DRAGXN

    3

    10 months ago

    Change API Based on Environment (Dev/Prod)
    I'm using a local instance of Supabase as I'm developing and the API URL would be different than production.

    I was wondering if it was possible to change a URL based on if it's in the builder vs the published site.

    Example:
    - Dev: url-one.com/team-members
    - Prod: url-two.com/team-members
  • ssssadsadasd-1330635481939054602

    ssssadsadasd

    1
    3

    10 months ago

    Clone button
    What is the purpose of the Clone button in the pic attached? It does not actually clone the current project but only the template it was created from
  • robertg5128-1330272536495132713

    RobertG

    6

    10 months ago

    Supabase Auth example/Tutorial
    I'm following Toddle's Todo example that uses Supabase for authorization, and it's not working for me. It's old, and there have been changes with Toddle, and I suspect with Supabase. Are there any more recent examples I can follow? Supabase's site has a Toddle tutorial, but it doesn't do auth.
  • olumise-1330228904220164158

    Olumise

    4

    10 months ago

    Issue with clearing Query Parameter
    I want to clear the client query parameter upon close of the page or modal, I read somewhere in the discord server that you just need to set the query to null and it will totally clear but mine is showing an object instead.
    What can I do, I want to clear it totally when the user closes the page or modal.

    Thanks
  • uunicode-1330211069607678003

    unicodes

    5

    10 months ago

    API Query Param by email contains +2 not working
    If you are using in the database an email address like this example email+2@email.com, it will not perform the select, do you know why? It works if the email is without +2.
  • mesmoiron-1330209192039940168

    mesmoiron

    1

    10 months ago

    Dark theme, components, authentication and passing data inconsistencies
    Hi,

    After watching the tutorial I am cleaning up my app layout. Here is the thing

    - in my preview the pages are in dark mode.
    - in live mode only the first authenticated page works flawlessly
    - the other pages are dark and all data is passed
    - in life mode, components lose the dark mode and the current user data isn't passed down
    - after publishing a branch, I need to login again in order to proceed working. Then the above problems repeats.

    Search bar:
    - in the component the name is passed by the context and is shown
    - it is shown in the preview
    - in the life version the name is null

    I put the attributes back in for now. It is easy and understandable. Later I will make a table with the flow of data and which options are accepted while testing out the troubles. I think that static data vs dynamic data is confusing. Because then it seems like it is working while it is not and I have probably made some mistakes here.

    I totally got lost in the data. I am not building a one page app, but an app with multiple pages.
  • uunicode-1330156375422013470

    unicodes

    1

    10 months ago

    context name is null in API input select.
    Hi there, is just me that has the context name null in the API select input? It works in other cases but here is null.
  • alexsiale_17363-1330021989624053931

    Alex

    5

    10 months ago

    Web Components via Embeds
    Does anyone have examples for web components built in toddle and deployed in something like webflow or squarespace?

    Something dynamic like a form?

    I want to be able to give users of our CRM the ability to embed their property stock lists which are visible in their toddle portal, on their websites.

    How do you control the filtering of the data in an embed that 100 customers may all be using
  • alexsiale_17363-1330021387129196625

    Alex

    6

    10 months ago

    Multi-seat orgs in Supabase
    Hey team!

    Anyone built out multi seat orgs in Supabase?

    One company account with multiple users who can log in with permissions

    I have it set up in Supabase with my table structure but trying to figure out my first step in toddle with the API calls to read and edit new rows etc.

    Anyone building a CRM or Portal with orgs and users?
  • alexsiale_17363-1330019583683203103

    Alex

    8

    10 months ago

    Allowing users to add custom columns to their tables
    Hey everyone

    After first customer feedback session for my property development CRM built in toddle a few requests have been made and we can see all users needing these too.

    First one off the bat to tackle is giving users the ability to customise their table layouts inside the portal by adding and deleting columns.

    For example:
    - they might want to add a column for their internal team notes on a property table or they might want to add a column for door access key codes etc etc

    How do I allow this functionality whilst limiting the updates to the table structure to their account only?

    Does this make sense?

    Think like Airtable or most table based tools where you can add new columns etc.

    I’m using Supabase as database with Supabase auth.
  • feraask-1329933922200457308

    KillerK009

    57

    10 months ago

    Custom Code Documentation
    Is there any more documentation around what functions/features are accessible via custom code actions or formulas? I'm assuming this would be provided by the ctx parameter provided to the custom code.

    I've seen these pages already:
    https://docs.nordcraft.com
    https://docs.nordcraft.com

    But is there any more? Can we modify a Toddle variable value from custom code? Can I call another Toddle formula or action? Is there any way to debug and/or step through code or formulas to see what they are doing?

    Also, is there a way to provide format/type information for object parameters so autocomplete can suggest the properties?
  • uunicode-1329914931935445122

    unicodes

    5

    10 months ago

    API pages (like Inputs) closes automatically
    Have you noticed any differences in the APIs over the last 3 hours? On my screen, the API (like Inputs) closes automatically at each input, the same for body (selecting any input means open the API from zero each time), events, etc.
  • lucvs6078-1329843296390086676

    Lucvs

    4

    10 months ago

    Creating a countdown timer
    Hey guys,

    I tried asking kapa.ai about this, but I couldn't get a good answer.

    How do I create a countdown timer in toddle?

    I wanna build a countdown timer that counts down till a specific timestamp in real-time.
  • dub3728-1329838614204518410

    dub

    6

    10 months ago

    Download images
    is there a way to download images, im new to toddle and im not quite how to tackle this issue, thanks
  • uunicode-1329771559619133450

    unicodes

    33

    10 months ago

    How can I load user app settings from the database only once?
    Hi,

    I have some information similar to "user experience settings," which I currently call in any component where needed. These settings are important, including allowed currencies, languages, task statuses, etc.

    I was considering making an API call upon login to save this information in local storage. However, what if the local storage is edited? These settings are used to update the database, and I cannot risk using potentially altered data from local storage (e.g., a "selected status") since it could be injected maliciously.

    What solutions do you use in this case? I’m exploring alternatives because, as it stands, I have a lot of requests just to retrieve the app's status, which impacts performance.

    I cannot use context because this information is shared across multiple pages, and context (variables) only works within the same page.

    Thank you!