Pricing Blog

Help forum

  • iwooo-1366025702582911089

    Iwooo

    9

    6 months ago

    Contexted workflows and formulas does not work.
    I got a question. Maybe a newbie one. Why am I allowed to subscribe to context when the component I'm subscribing to is not in "parent" relationship with child (context-subscriber)? The Child component can see (and use in formulas - but it does not work) contexts from components which are not in relationship with context provider.

    I studied the new NC documentations (and soem community NC projects) but it does not answers this question for me. As far as I read thru docs, for context to work, the context-provider component should be connected with context-subscriber component thru parent-child relationship. But ability to subscribe to and work with non-related component's context is very confusing.

    My project structure is described in attached image. I'm able to subscribe to context and work with context inside of formulas editor (create new formulas using data from contexts and seeing data getting thru) and workflow editors (same as with formulas - everything works inside of toddle/NC) but once I want to trigger workflows which should use contexted data and workflows it simply does not work. There is no error on logic, because I tried the same workflows without context and it works flawlessly. Is my project structure wrong?
  • ssssadsadasd-1365980210805084210

    ssssadsadasd

    28

    6 months ago

    why this wrapping behavior?
    [here ](https://editor.nordcraft.com/projects/moccasin_palpatine_chief_rook/branches/start/components/test12?canvas-height=800&canvas-width=213.9&rightpanel=style) I have a list of spans and I want to wrap them, i.e. when the width is low I want the text to go to the next line. and I achieve this.
    but what makes me wonder is that if I changes the flex of the main div of the page from column to row the wrapping behavior is broken even though I do not know why this should influence the wrapping.
    anyone has any idea? thanks
  • ssssadsadasd-1365777066716561490

    ssssadsadasd

    12

    6 months ago

    tagging functionality ux
    think of sth like twitter, where in a post the user can tag some other users. the tags have a certain color and are clickable.
    I believe I have completed the backend logic now I want to render the post content in the UI.

    so supposethe posts will be sth like this (where obviously the tags and text are dynamic):
    "@elonmusk is the ceo of x"

    how can I make @elonmusk blue and clickable and possible triggering an action in my nordcraft app?

    thanks
  • banks7191-1365617443656962118

    Bankydoo

    1

    6 months ago

    Resusing components in nordcraft
    Hi there
    Do we have any videos demonstrating how to reuse components
    Newbie question
  • ssssadsadasd-1365611894202957834

    ssssadsadasd

    15

    6 months ago

    track cursor position in a multiline input
    I want to click a button and add a text in the position where the cursor is in the multiline input.
    how can I do this?
    thanks
  • fss21.-1365352352122667108

    fss21

    11

    6 months ago

    Is there any way to sanitize the input using formula?
    Hi, looking for a way to sanitize the input so that we can call the api in more secure way. Currently it is not possible to do this?
  • needtheanswers-1365337425202774047

    needtheanswers

    9

    6 months ago

    close other dropdowns when I open a new one
    Hi there, so I have this table cell component that opens a dropdown. When I click on the 3 dots I want it to open the dropdown of this table row but also to close the other open dropdowns. So there should only be one open dropdown How do I achieve that? I was thinking of using the repeat item index for that and create a variable with the active index but that wouldn´t be very elegant since I have multiple tables that use this component . Using the pointerleave event is also not solving the problem. Thanks
  • mohameddk_-1365253817582747658

    mohameddk_

    1
    3

    6 months ago

    How to make a link always open in a new tab?
    Basically the title. It would be very useful if the link opens in a new tab in mu use case.

    The user will click on the link and would have to inevitably go back to the web app. The api for my app is slow so navigating back would not be ideal as the page would have to fetch data from the api again
  • banks7191-1364943807212425327

    Bankydoo

    6

    6 months ago

    HI everyone
    Still waiting for an idiots guide to setting up supabase auth in toddle. tried and failed severally.
  • fss21.-1364941469223354388

    fss21

    12

    6 months ago

    Json-ld structued data issue
    I am trying to set up json-ld strtucted data and insert <script> tag as attached image. I pulled out json to be inserted as string format from external api and tyring to add it to "content". but when i do that, it becomes null in preview page. Does anybody know why?

    I have passed value as string format and tried Json parsing formula but same results( it returns null)
  • fss21.-1364570463363137566

    fss21

    18

    6 months ago

    How to prevent redirect loop
    Hi, i creatd API redirect rule. basically if the url does not end with slash, then I want to redirect the same url with slash at the end.
    The logic to judge whether slash is at the end is working fine.

    but when i implement this logic, the redirect loop happens in preview page. anyone knows why is this happening?
  • .kittiphum-1364509349241950271

    Kittiphum

    1

    6 months ago

    application/pdf api reponse
    I am using APIstax invoice pdf api to create an invoice. It response is the raw data of the pdf how do i display it and make it downloadable?

    Looking forward to your answers.
  • banks7191-1364147386183716965

    Bankydoo

    5

    6 months ago

    Supabase
    Anyone recently set up custom endpoints in supabase and got it working?
    Followed an old video testing out a component and got stuck connecting supabase with toddle.
    something to do with the swagger documentation which was showing a lot of things i dont understand.
    I still dont understand a lot of things but pretty good at following and getting it as i go. so if theres any recent custom set up i can follow - please hit me
  • andyputilin-1364032330708287629

    Andy Putilin

    9

    6 months ago

    Logic for Finding and Retrieving Associated Records Between Two Data Sources
    Hello, need a little help with what I believe is toddle logic.

    I’m building a CRM page and pulling in data from two APIs — one for deals and one for vehicles (stored in Xano). Each deal can be linked to a vehicle using an ID field.

    What I’m trying to do is this:

    When someone’s viewing a vehicle card in the CRM, I want to automatically check if that vehicle appears in any of the deals. If it does, I want to pull in the info from the matching deal and display it alongside the vehicle. Kind of like showing deal context directly within the vehicle profile.

    Right now in Toddle, I’m looping through the deals and comparing the vehicle ID to the current vehicle being viewed. I’ve been trying to make this work with a formula, but it’s not returning anything. Clearly I’m missing something 😅

    Dropped a screenshot of what I’ve got so far. Just wondering what the best way is to structure this logic. Should I be filtering differently, or is there a better way to query it from Xano?
  • liltisa8661-1364020911023329291

    Hausia

    1

    6 months ago

    Domain SSL
    Hi everyone, just linked my domain & seitting on pending. Wondering if there's anything I need to do from here? Only been a few hours.