Help forum
- Is possible to remove an element from HTML page?
unicodes
2 1 year ago
In JavaScript , I usually do this by adding a class name to the parent , like ToDo -Parent , and if there is a click on a specific button within that parent , I remove the e .target (ToDo -Parent ) from the HTML . Can this be achieved in Toddle ? - How to parse a CMS json content object to toddle elements?
Bas Fenix
2 1 year ago
I 'm working with a CMS API that returns JSON data for content pages . My question is twofold : How can I dynamically convert this JSON into Toddle elements ? Specifically , how do I handle dynamic elements like tables or checklists , that aren 't present on every page ? I understand binding fixed elements (e .g . , headers , text ) to API responses . But I 'm unsure how to approach rendering variable elements that are not fixed on every page but only for a specific page . Any insights or best practices would be appreciated ! - Project : Build a local marketplace to strengthen local consumption in the city with Toddle ?
FLOnocode
5 1 year ago
Good morning , I 'm looking for a tutorial that explains in detail how to create a local marketplace for a city . The idea is to reference all the different businesses within the city with the different businesses (bakery , hairdressing salon , restaurant , children 's bookstore , etc . ) to reinforce "consuming close to home " . In terms of functionality , there will obviously be a smart search filter . The possibility of integrated geolocation in relation to its position , Opening and closing times . A photo gallery of products and services . The possibility of producing testimonials on the platform for people who have identified themselves with their first name , email address , etc . There would therefore be a page visible to the consumer with their profile and sellers would also be able to edit their business page on the platform . This last function would be for later because I want to iterate on it little by little . I want to know what are the best ways to start developing this type of web app on Toddle and what content will allow me to advance on a marketplace step by step . Perhaps you can recommend all videos that have already carried out this type of use case , please . Ps : Is it possible to deconstruct with the difference function that this would represent in the context of a non -profit association for example . Or before getting started there are red flags to take into account THANKS - Preferred method for fetching remote data

nathandh
2 1 year ago
Say I want to click a button , perform a GET request , and replace the content of static elements on screen : heading , paragraph , image . What 's the preferred method of doing this ? What works is to : 1 . assign a click event to button 2 . perform the request 3 . Set the returned data to a variable 4 . Bind the static content props to the content of the variable , such that as it 's updated (on click ) the content updates This works , but I 'm wondering if there 's another / better way ? Is "storing remote data in a variable and binding to content " the preferred "toddle " way ? - how do I create a checkbox in toddle?

shiva
1 1 year ago
Trying to create a checkbox , let me know how can I do that - Cant delete page
Samuel T
16 1 year ago
Help , I had a page get duplicated somehow after I refreshed the editor , and I can 't delete the duplicate now - Pagination Conflicts with Query All Data
m
75 1 year ago
Hello ! I set up a pagination variable from my backend (Xano ) to include query parameters for 'page ' , 'offset ' , and 'per _page ' and it seem to work as expected . However , I also need to query all data for my sort and filter through <input > and <select > elements . The pagination is preventing all data to render through the filter . I am not sure how to think through this . Appreciate any help ! - Displaying/Working with Context data in component?
DrHariri
3 1 year ago
Hello ! I was wondering if there is an easy way to expose "context " data within the receiving component to make it easier to work with the incoming data being passed to the component from its parent page ? I can see the data working fine on browser live preview , but it is harder to work with everything being "null " within the Toddle editor . - Is there a way to get the attributes of a web component?
Tom Ireland
1 1 year ago
In my Carrd -style app , I 'm looking to build a component that gets the attribute names and types of child components . For example , my hero component has the attributes heading and text , both of which take a string . Is there a way to dynamically obtain these to then create some kind of attribute control component ? This might also be useful for @Victor Giron (for the future ) when working on his UI kit so that each component has a set of controls that can be adjusted on the screen to preview the component before copying it . - dynamic file uploader component

needtheanswers
✅124 1 year ago
Hi , I ´ve built a file upload component that I want to use on multiple pages . But how do I access the file now that it is "in " a component ? I ´ve tried to set up event which gets triggered on input but that doesn ´t seem to make sense in my case . - Set refresh-token cookie
𝓜𝓪𝔁𝓲
0 1 year ago
Hi there , im using " / .toddle ?access _token = " to set the access token , but i need also to set an refresh -token . My idea was to set it also as http cookie and perform session updates / token generations server side via a custom api , and push them directly to the http cookies . How would you do it in toddle ? - Help with understanding contexts
Tom Ireland
✅14 1 year ago
Hey , toodle community . I 'm struggling a bit with understanding contexts for getting component data back up to the parent . I 'm trying to send data back from a component to the HomePage . The component sits within a parent component on the HomePage . It was working okay when the child component was on the HomePage itself but as soon as I shifted it into a parent component , the context workflow stopped working . I 'm very much likely misunderstanding how to use contexts and /or doing something wrong . I put a wee YT video together ( <4 mins ) . https://www.youtube.com/watch?v=IfGdaDdkmTE - How to use custom actions?
𝓜𝓪𝔁𝓲
2 1 year ago
- Maximum call stack size exceeded
DameStJohn
29 1 year ago
Huge problem ! @Andreas Møller @NoCode ProCode . I can 't access anything on this page . Is my work recoverable ? - Access token not accessible in editor

switchman8850
8 1 year ago
I have a login component that works perfectly , resulting in a cookie set for my access token . I then have another component that calls an auth /me endpoint upon a button click . This is an authenticated endpoint , and thus the access token gets sent . This should , ideally , return the user information . I want to use the returned id of the user in something , but I am unable to reference it in a formula as for some reason I don 't get an access token when using the editor (which makes it impossible to reference a result from the api call in a formula ) . If I go into preview , I can login , get the access token , and the auth /me endpoint works . But this does not happen in the editor , and the problem with this is that I need to get data returned from the auth /me call in order to be able to reference a specific field from it in a formula . Any ideas on how to fix ?

.jpeg/public)