Help forum
- Head assets aren't working
Muffin
1 23 days ago
22 Dec 2024, 14:49
I 'm using Posthog for analytics but I 'n not getting any daya even though I 've added the tracking code to my head - API Calls
unicodes
0 24 days ago
22 Dec 2024, 11:01
Is there any issue with the API calls ? It is a simple POST request (with Auto Fetch disabled ) and does not have any event that calls it again on success , failure , or other types of events . Why is this happening ? There is no change with debounce on even 1000ms . - api sorting
asad
2 24 days ago
21 Dec 2024, 21:35
what is the best way to implement dynamic filtering in api using supabase - Toast width does not adapt fully?
ssssadsadasd
4 24 days ago
21 Dec 2024, 20:52
When the content is long the toast does not adapt to the width . - Is it possible to have an eventListener inside a custom action listen for component events?
Ben H
0 24 days ago
21 Dec 2024, 20:30
I have a data -provider component that houses common calculations I need to perform in my workflows . When the calculations are complete , the data -provider component fires an event "calculated _results " with the results . The data -provider component shares its context so that its calculation workflow can be triggered outside the component . Now , here is my problem . I need a way to halt my workflows until I get the data from the data -provider needed to continue the workflow . That is , I need to halt the workflow until the calculated _results event fires . I was hoping I could do this with a custom action using an eventListener (code below ) , but it doesn 't seem to work . It doesn 't seem to recognize any event called "calculated _results " . Does toddle have an internal representation of this component event that I need to be using ? function waitForEvent(args, ctx) {
// Get parameters
const eventToWaitFor = args.eventName;
const timeoutMs = isNumber(args.timeoutMs) ? args.timeoutMs : 30000;
// Handler for the event
const handleEvent = (event) => {
clearTimeout(timeout);
document.removeEventListener(eventToWaitFor, handleEvent);
ctx.triggerActionEvent('success', {
event: eventToWaitFor,
data: event.detail
});
};
// Set up timeout
const timeout = setTimeout(() => {
document.removeEventListener(eventToWaitFor, handleEvent);
ctx.triggerActionEvent('timeout', {
error: 'Waiting for ${eventToWaitFor} timed out after ${timeoutMs}ms',
event: eventToWaitFor
});
}, timeoutMs);
// Listen for the specified event
document.addEventListener(eventToWaitFor, handleEvent);
} - how to filter objects?
unicodes
✅11 24 days ago
21 Dec 2024, 20:27
I have an object of objects (skills ) . [ {id , name } , {id , name } , ] How to filter them based of name ? This my old filter was for an object with just names . - Session coocies or global veraible
Higolol
6 25 days ago
21 Dec 2024, 10:24
Through the API I register a new user and get a token which I write to session coocies . How can I use this token on another page inside the API , to specify it as sessionId in API headers . Is there a global variable in toddle or some other way ? - Idea/brainstorm (search, add, repeat)
alain
42 25 days ago
21 Dec 2024, 00:01
Hello team , Does anyone have any ideas on how I could achieve a functionality that goes like this : 1 . Search backend table of an exercise database via an input field 2 . Press enter to select 3 . The entered exercise gets added to repeating div formatted nicely like a card with a bunch of info . 4 . Can add and delete them - Create a whitelabel dashboard with creating of a replicate database with dynamic APIs?
A-Chivas
👍10 25 days ago
20 Dec 2024, 22:59
I have created a dashboard which my client wants to replicate and whitelabel it with replicate database and dynamic API 's how do I go about it ? - 'Get Rows' API error
Hausia
4 25 days ago
20 Dec 2024, 21:36
Hi , getting this error from the attached API call . " < !DOCTYPE html > \n <html lang = " en " > \n <head > \n <meta charset = " utf -8 " > \n <title >Error < /title > \n < /head > \n <body > \n <pre >SyntaxError : Unexpected token " ; in JSON at position 0 <br >   ;   ;at JSON .parse . . . . . Have double checked the body JSON multiple times : { "appID " : "RoLnq8SeTdUWbtkmX6dR " , "queries " : [ { "tableName " : "native -table -8VlEy9GI7SpQUosrEOAK " , "columns " : [ "cNI9W " , "aSJ65 " ] } ] } Any ideas ? - change to "false" or "true" by cliking
Higolol
13 25 days ago
20 Dec 2024, 18:59
Hello , fathers ! My question to guys how knows Directual . I need to use the API with chekboxes . It works with JSON that includes object _id . Whow I can tell the item in chekbox that boolean in API needs change to "false " or "true " by cliking ? I cant undestend that . - Horizontal scrolling not behaving as expected
ssssadsadasd
3 25 days ago
20 Dec 2024, 15:45
- Can I have multiple events in a components?
A-Chivas
24 25 days ago
20 Dec 2024, 14:19
Can I have multiple events in a components ? also why do I have to type events in components ? its really confusing , I need to assign multiple events and I am confused , plz help - Accidentally removed default Sans font in Themes
.
0 25 days ago
20 Dec 2024, 13:07
Hello , accidentally deleted the default Sans font in Toddle from the Themes in the sidebar . Is there any way to get that back ? - Join query help
unicodes
5 25 days ago
20 Dec 2024, 13:00
Hi , I have table cars , and table my _card . I want to : SELECT * FROM cars JOIN my _cars ON cars .id = my _cars .car _id WHERE my _cars .selected = TRUE ; ' It works with query on my _cars : 'select =id ,cars ( * ) &selected =eq .true , ' but how to query cars and selecting based on my _cars ?