Help forum
- Parent is hovered effects on children
ssssadsadasd
44 6 months ago
When a parent is hovered I want to change the background color of the children (but not of the parent itself ) . how can i do so ? thanks - Popover Animation :closed
Janis
2 6 months ago
I managed to apply a @starting -style transition to a popover , but I can 't figure out how to apply a closing animation since the pseudo -element :closed is not supported The goal would be to do something like : [popover ] :closed { opacity : 0 ; transform : translateY (10px ) scale (0 .95 ) ; } - Reusable content text size decreasing
ssssadsadasd
0 6 months ago
As you can from the images , I have the actual screen and the editor at the same size but in the editor the text appears as expected (text keeps the same size regardless of width and breaks does in a next line ; the text size = 15px ) while in the actual screen the text decreases in size and it appears in the same lines at any width . now sure why this happens . I am using this as a reusable in the page and probably that has sth to do with it . any idea why this happens ? thanks - Head assets aren't working
Muffin
1 6 months ago
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 6 months ago
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 6 months ago
what is the best way to implement dynamic filtering in api using supabase - Toast width does not adapt fully?
ssssadsadasd
4 6 months ago
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 6 months ago
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
1 6 months ago
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 6 months ago
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 6 months ago
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
0 6 months ago
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 6 months ago
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 6 months ago
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 6 months ago