Pricing Blog

Help forum

  • needtheanswers-1297177074179637329

    needtheanswers

    13

    9 months ago

    Intersection observer: change nav link color when section is in viewport
    I want the my nav links to change when a specific section is in the viewport. It should work like in the video attached (built in webflow, don´t mind the ui lol) How can I achieve this?
    I tried to use @Jacob Kofoed´s intersection observer package and also the some code from Claude that I put in a custom action. However I wasn´t able to make this work. Has anyone built something similar or could point me in the right direction?

    Thanks a lot
  • uunicode-1297145370786402357

    unicodes

    3

    9 months ago

    Get from Session Storage is working to you?
    I want to get the refresh_token from session storage but it isn't working to me. Is working in your case?

    Thank you!
  • fuck_jayoh-1297116410354335766

    totheMoon_Jay

    3

    9 months ago

    Issue with Updating a Request (PATCH) in Xano – “Value is not a valid integer”
    Hi everyone,

    I’m working on a project and having trouble with updating a request using a PATCH endpoint in Xano. Here’s the situation:

    Context:
    - I’m using a PATCH endpoint in Xano to update a request (task).

    - The request_id is passed as an integer from Toddle to identify the task that needs to be updated.

    - Despite passing request_id as an number in Toddle, I’m receiving the following error from Xano:
    ERROR_CODE_INPUT_ERROR: “Value is not a valid integer, related to the request_id.

    What I’ve tried:

    - I’ve even converted the variable (taskID) with the number formula to make sure is an integer in Toddle before sending it to Xano.

    - I’ve ensured that the request_id field in Xano is set to integer.


    Do hyou have any suggestion ?

    Thanks in advance for any help or insights!
  • rakidawood-1297046839434022922

    RakiDawood

    2

    9 months ago

    Patch request issue
    Hey everyone, I am creating an inventory management system and I cannot use the patch request in xano to change the image from toddle. I have tried changing the header content type from appication/json to multipart/form-data but it says "Unable to locate request" in toddle api window. How can I fix this? In Xano this works perfectly but it seems like patch request doesnt accept multipart/form-data
  • lucvs6078-1296990210990674043

    Lucvs

    70

    9 months ago

    Injecting API response into jS script
    Hi there,

    I'm setting up a payment integration for our app, which requires API responses from a backend SDK we have hosted on AWS lambda.

    Upon a button click, I've tried to set the API responses as variables, and piece the variables together by concatenating the varibles with pieces of the script, and then injecting it into a script tag.

    For some reason this flow doesn't work, but when I just insert the scripts manually with the API responses they do work, thus I'm led to believe I'm doing something wrong in terms of injecting the API response into my jS function.

    Any ideas?
  • needtheanswers-1296843386929549353

    needtheanswers

    10

    9 months ago

    Font size increases when rotating my phone but doesn´t decrease after rotating it again.
    Hi,

    The font size increases when I rotate my phone (from portrait to landscape mode) but doesn´t decrease when rotate it again (landscape to portrait).
    This doesn´t happen on all text elements tho. I already tried to create a new page using the same component but the issue doesn´t seem to appear there?! Also it´s working fine on some other components.
    I don´t know what causes this and it´s already driving me nuts lol. Is it because of a parent div?

    Thanks a lot
  • henk_08753-1296761320078577744

    Henk_BLUE

    10

    9 months ago

    Added font to default theme, but doesn't render correctly!
    Hi, I did some searching and the answers I stumble on seems mixed. Google Fonts are not supported (yet), and can be imported via CSS. But in the default theme pannel, I can add Poppins (a Google Font I want to use). The font example renders correctly, I can select it in the font dropdown, but the result does not render correctly, see image.

    Am I trying to do something that is not possible and should I resort to the CSS solution instead?
  • jinyuqilin1-1296740159374753873

    Alex

    3

    9 months ago

    404 Not found when embed the toddle app in wordpress
    Hi , I have create a widget to embed in wordpress. However, the api request is returning 404 not found in the network inspector on the wordpress site. I have confirmed the CORS is enabled in the wordpress site. Please help. Thanks!
  • petershaw99-1296440873768452147

    PeterShaw

    6

    9 months ago

    Which node to use to show values not boolean
    I am creating a variable and I want the output to display the values but instead it shows true. Which node can I use to show the values?
  • petershaw99-1296395671041216512

    PeterShaw

    4

    9 months ago

    repeated item not displayed in editor
    I want to repeat an item but it is not displayed in the editor. It is displayed when I open a new tab.

    I use RLS on my supabase table, I installed the extension, I pass the access token.

    Is there a way to make sure to act as a logged in user in the editor? THe way it worked before was to open a new tab, log in and then go back to the editor. But somehow that does not work.
  • dimble0534_39337-1296218523047301210

    Dimble

    2

    9 months ago

    API help on my first day
    Hi all! My very first look at Toddle today, I am trying to add an api, it is one that i have used before and trying to test by just sending a basic json request in the body. But i keep getting an Invalid JSON error.
    It is set up as POST, and the endpoint is correct, i just put the raw json as a string in the body to see if i get the right response. The same test works fine in Postman, returning the expected response. Is there something different about the way Toddle sends json post requests?
  • building_stuff-1296119414558822520

    Janis

    10

    9 months ago

    [SOLVED] Supabase: Prevent non-registered users from using Magic Link Login
    I am using the /auth/v1/magiclink endpoint to allow users to login. However, the endpoint also allows non-registered users to create an account via the login route. I tried adding a shouldCreateUser attribute to the body object but that does not work.

    Does anyone have an idea how to restrict usage of the login endpoint to only registered users?
  • martinf4630-1296096739865919552

    MartinF

    0

    9 months ago

    How to get access_token from local storage.
    I'm using supabase-js to manage auth. When a user logs in supabase-js adds the access-token and refresh_token etc to local storage. I have an event set up that let's me know when this happens so I can set session cookies and then use the access_token for api calls etc (if i understand correctly.)

    But how do i use get 'Get from local storage" to extract it. I've tried loads of different things and no joy. Any ideas?
  • banks7191-1296046269307031552

    Bankydoo

    6

    9 months ago

    xano to toddle
    Please does anyone have a very RECENT video connecting xano to toddle for sign up, login with authentications.

    newbie struggling here
  • .tombaker-1296037340619214891

    Tom Baker

    6

    9 months ago

    Spreadsheets
    Truly sorry if this has been asked before, I did search but couldnt see what I was looking for.

    I did look at toddle a while ago but its been a while so starting fresh.

    How possible is it to build spreadsheet functionality into a toddle app. Not so much the formula, more as a database structure for my users.

    They would need to be able to add a column selecting a format such as text, number ect.

    The columns would need to be drag resizable.

    I was just thinking about integrating with airtable or google sheets but feel that building a natuve solution would allow greater future flexibility.

    Thanks in advance