Help forum

  • henk_08753-1373286112688214097

    Henk_BLUE

    13

    5 hours ago

    Does Nordcraft block the Cookie header?
    My backend sets http-only cookies via a Set-Cookie header. These are saved correctly in the browser as long as I do not use proxied API requests (which I don't intend). But when I execute API calls from Nordcraft, the Cookie header is not included.

    Are credentials not included in HTTP request in Nordcraft by default? Can we include them?
  • gerson_ca-1372958342690897920

    Gerson CA

    7

    1 day ago

    Component not hiding
    I have this component that I wanna hide when my sidebar is collapsed. However, it is not working even though the formula is showing false and other elements are hidings without problem.
  • jehex-1372942100777271399

    Jehex

    0

    1 day ago

    Emoji and xano input text
    Hi there, sorry for my noob question but Im working on a chatbot with xano and as soon as I pass an emoji to my request body ( xano endpoint has a text input ) my api call is just ignored ( I dont get any error messages on xano )


    Would like to know if I have to convert every messages into utf 8 ?
  • jerome_13677-1372676289080721560

    Jerome

    34

    1 day ago

    Todo API authorization error
    Hi all,

    I am following the old video on the todo app. I'm at the point where I am creating a todo API.

    I have logged in successfully got an auth token.

    I went to my homepage (todo page) and tried to make my API but its getting an error code about authorization (see attached).

    The UI has moved on since the video so in which I see him scroll down to authorization and just pick auth token, which is no longer there. I tried using Headers?

    Please advise when you can.
  • gerson_ca-1372592391709659197

    Gerson CA

    6

    2 days ago

    Variable inside a component
    Hi I have this variable inside a component which is set with API data that I am sending via attributes. Then, on a list I am referencing the variable to display the data using the repeat option. This works fine in the component but on my main page I do not see the list data being rendered. Does it mean I have to move the variable up a level?
  • ssssadsadasd-1372504750616088607

    ssssadsadasd

    7

    2 days ago

    Round date to day
    [Here](https://toddle.dev/projects/moccasin_palpatine_chief_rook/branches/start/components/test99?selection=nodes.MHfCYq9evFtu3TFfqeLzM.value&rightpanel=style), I want to create a date 14 days from now rounded to 00:00:00 in UTC time.
    adding the 14 days is fairly simple (now -> timestamp -> add 1209600000 seconds -> date from timestamp) but I dont know how to round this to a day and make hours=minutes=seconds = 0
    anyone has any idea?
    thanks
  • stockton_f-1372436788546900068

    Stockton

    5

    2 days ago

    Chat Interface CSS
    Alright, CSS is getting the better of me.

    I'm trying to come up with a chat interface where the text input field is always pegged to the bottom.

    The input can expand up to a certain max-height which should case the messages area to adjust accordingly filling any available space.

    I'm having troubles on mobile where there's the sticky header and just getting it to stay where I want it in general on both mobile and desktop.

    Here's the branch link: https://toddle.dev/projects/beige_yoda_subtle_vole/branches/start/components/home?canvas-width=800&canvas-height=800&rightpanel=style
  • quietrocket-1372174989326811267

    QuietRocket

    2

    3 days ago

    Reacting to Workflow exposed in Context
    Hi. I have a context based provider which exposes a workflow. When the workflow is called by a child subscribed to the provider's context, I would like to react to error or success. Since component workflows don't support events unlike global actions, I am somewhat stuck. What I'd really like is a React-Like-Effect where I subscribed to an error or success signal from the context and display a toast in the child. Any tips?

    Two ideas immediately come to mind:
    1. Integrate directly with the Toast provider. This way my provider can directly trigger the toast on error or success. Problem is I am doing this from within a package, so I can't include Spark's Toast context. Other problem is child workflows won't know if error or success.

    2. Poll on a variable exposed by the provider context via a recursively invoking workflow. This is totally possible and achieves a React-Like-Effect, but it's a mess to implement each time, and is only simulating reactivity.
  • sally_51110-1372008640365461665

    Salutina

    5

    3 days ago

    Checkbox value not sending in POST request to Xano
    Hey everyone! I’m new to Toddle and could use some help with an issue I’m having sending a checkbox input to Xano via a POST API. Everything else in my form is working fine — all other inputs are passing through to Xano — except for the checkbox. I’ve tried a bunch of things, but can’t seem to get it to work. Here’s what’s happening: If I manually update the initial value of the checkbox variable (e.g. in the variable panel) and run the API, it works — the value is sent to Xano correctly. But when I use the actual checkbox input in the form and check/uncheck it, the value doesn't get passed through to Xano. Sometimes the value becomes undefined or gets sent as a string instead of a boolean.

    I've added photos of my set-up. Any help would be so appreciated!
  • spencercap-1371924176243261543

    spencercap

    1

    3 days ago

    Web Components + data-node-id attr
    Why do Nordcraft's embedded Web Components add attributes to every element on the distination webpage even outside of the inserted component? This seems a bit aggressive and suspiscious... ex:
    <div data-node-id="1COqOh5UdKn5uyGCB0AsA" data-id="0.0.0.0.1" />
  • ssssadsadasd-1371882765754171453

    ssssadsadasd

    1

    4 days ago

    Initial value of a variable in a reusable = attribute?
    [Here](https://toddle.dev/projects/moccasin_palpatine_chief_rook/branches/start/components/test234?canvas-height=800&canvas-width=800&rightpanel=events), I have a page with a selected-id variable. when a button is clicked I set this variable as a random number. I then use selected-id value as the value of the test attribute of random-test component.
    inside this component I have an id-variable that has initial value = test attribute.

    however, I expect the variable to have the value of the attribute when i click the button but it does not.
    anybody can explain what I am missing? thanks
  • .targox-1371782818828521493

    Targox

    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    6

    4 days ago

    Filter not working on array
    Am I missing something obvious? Why am I still getting "21" and "27" while my filter says "4"
  • greg.irl-1371149672558891131

    Greg IRE

    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    7

    6 days ago

    Flex shorthand
    Hi all, I'm just coming back to Nordcraft after a little break and catching up on the new style panel UI.
    I used to use the flex: 1 shorthand alot and I notice there is no shorhand option in the new UI?
    Am I missing something or do I now need to apply flex-grow: 1; flex-shrink: 1; flex-basis: 0% instead?
    Thanks
  • henk_08753-1370840247436578826

    Henk_BLUE

    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
    7

    6 days ago

    Question about periodically polling data from client-side
    I have built a dashboard in Nordcraft and I wish to fetch new data each 15 or 30 minutes from 8am to 8 pm (it is very very basic, I am not working with websockets). What would be the best way to handle this? I feel like setting a sleep of 1.8 million ms in a workflow is not a solution..
  • pandabearme-1370665821512400967

    PandaBearMe

    5

    7 days ago

    Trouble copying from one page to another
    Hi I am doing a group project with toddle and I'm trying to add the navigation bar that we have in all of our pages to this new page that I am creating. The problem is when I copy it over to my page it goes from a horizontal small nav bar to a big blocky vertical mess. When I look at the styling section on the right hand side I don't seem to see any settings checked to know whats going wrong when I transfer it.

    Is there some wisdom for transfering over divs from one file to another? Pics are the nav bar I'm copying from and what it ends up as.