PricingBlog

Help forum

  • tinsoldiers-1454081469344518215

    Tinsoldier

    3

    5 days ago

    Supabase Graphql
    When I connect the service and go to editor, it shows all the collections but selecting a collection gives no data even thought public select is on.
  • benjamin.h-1453524356125692028

    Ben H

    5

    6 days ago

    what is the scope of style variables?
    can someone clarify the expected scope of style variables?

    i declared some style variables at the root element of the page i'm working in. inside that root div, i can see them available in the style panel as expected. however, in children of this div, sometimes they seem available and sometimes not.

    for example, inside one child component, referencing --font-color works as expected.

    however, in a different child component, referencing --font-color-secondary is not working.

    are there rules regarding where these declared style variables can be used?
  • knamuora-1453022295248343081

    knamuora

    3

    8 days ago

    Filepond Integration
    Hi, i've been stuck for some time on this issue, while integrating filepond's custom file picker. In setup i've an action initializing filepond and all the logic which works fine, having only one argument of elementId targeting the input element and having these events: onFileSelected and onUploadError.

    On onFileSelected, i'm passing these values: {"name":"video.mp4","type":"video/mp4","fileObject":{}}
    The issue is in a workflow i'm only obtaining name and type, the fileObject(that should contain binary data) is always returning empty.

    I'd appreaciate if anyone would help me resolve this. Thank you!
  • miles1991-1452661044563415110

    Miles

    11

    9 days ago

    format date - YYYY-MM-DD
    I'm trying to output todays date in the format YYYY-MM-DD to set a max attribute as todays date in a date input.

    Can't figure out how to do this and neither can the AI. It seems like it should be such a simple setting of something...I'm sure I'm missing it.

    Image is of what the AI suggested. Side note - Is the AI making up functions that don't exist? 🤔 😅
  • klevelandbishop-1452105174549270602

    Kleveland Bishop

    3

    10 days ago

    302 infinite loop on /login route
    If you head to my site wrkflo.ai, its stuck continuously redirecting. Same happens on development paths e.g. https://b-wrkflo.toddle.site/login

    please help when available !
  • j.ulian4976-1451511423241949336

    J.ulian

    2

    12 days ago

    Script content not SSR?
    Hi, why isn't the result of this simple formula visible in the page source (but available in the dev tools element tree)? Many thanks, guess there is a simple explanation for this...
  • dublin_18748-1451186294427357297

    Dublin

    23

    13 days ago

    httponly
    How should I properly extract the token from my API response? My backend returns the authentication token, but I'm not sure what the correct formula path should be in the "Set HttpOnly cookie" Value parameter.

    Why is the Authorization header trying to get a cookie during the login request itself? Should this header be removed entirely from the login API configuration?

    What's the best practice for handling form submission with API calls in Nordcraft? Should I use the form's submit event or the button's click event?

    How can I conditionally set the cookie only when login is successful? Currently, the cookie action runs in onCompleted regardless of whether authentication succeeded or failed.

    Expected Behavior:
    User enters credentials and clicks Login
    API call is made to backend
    If successful, token is stored in HttpOnly cookie
    User is redirected to /gri-management
    If failed, user sees an error message
  • baba_bambule-1450462934621880382

    BabaBambule

    20

    15 days ago

    use color-mix with variables
    So basically a follow up to this post

    https://discord.com/channels/972416966683926538/1266378893292732436/1266381383425720351

    I want to add color-mix to my theme and using it like this
    color-mix(in, oklab, #E85002, 80%, #FFFFFF, 20%)

    already works, but I'd like to replace the fixed color values for var(--brand) and var(--white)

    but writing
    color-mix(in, oklab, var(--brand), 80%, var(--white), 20%)
    always converts to
    color-mix(in, oklab, --brand, 80%, --white, 20%)

    and doesn't work anymore. Is that just not possible yet or am I missing something?
  • luca_6412-1448794669050888272

    Luca_

    4

    20 days ago

    How to prevent navigation flickering?
    is it possible to prevent this navigation flickering? The link elements are rendered from an array, all api call are running on serverside.
  • ssssadsadasd-1448673180704309452

    ssssadsadasd

    2

    20 days ago

    orphan node element was found
    what does this error mean? when I click over it I see nothing
  • mxi012-1448426341585387754

    𝓜𝓪𝔁𝓲

    0

    21 days ago

    Has anything changed in the way nordcraft handles Editor API calls?
    Following works on the live site but NOT in the editor:
    We bootstrap a session and then sent consent into this session (cookie consent). After the consent we get consent and session data by calling bootsrap again with Autorisation.

    Server does NOT recieve the http cookie. (only for the nc editor)


    Video: https://www.tella.tv/video/norcraft-editor-session-cookie-bug-7f4o
  • raphaelwalters-1448413796287909969

    Raphael Walters

    3

    21 days ago

    Clarifying workflow event behaviour
    Hey everyone!
    Documenting best practices for workflow 'callback' events. I have some edge case questions about this pattern:

    1. Provider exposes workflow via context (e.g., updateUser)
    2. When triggered, the workflow calls an API and defines a 'callback' event
    3. Child components subscribe, call the workflow, and listen for 'callback'
    4. On API completion, onSuccess triggers the callback event
    5. Child reacts (close modal, show toast, navigate, etc.)

    Questions:

    1. Event Deduplication
    If a user double-clicks "Save" and triggers the workflow twice rapidly:
    - Do both executions fire separate callbacks?
    - Is the API debounce option (in Advanced settings) the intended solution?

    2. Callback Event Scope/Lifetime
    If a callback fires but no component is subscribed (e.g., component unmounted before API completed):
    - Does the event get lost (fire-and-forget)?
    - Does it queue until a subscriber appears?
    - Is there any error or warning?

    3. Multiple Subscribers
    If two component instances both call the same provider workflow and subscribe to callbacks:
    - Does each only receive callbacks for executions it triggered?
    - Or do all subscribers receive all callbacks?
    - Example: Two modals editing different users simultaneously

    4. Unsubscribe Behaviour
    When a subscribed component unmounts:
    - Does it automatically unsubscribe from the callback events?

    Understanding these helps establish best practices for:
    - Preventing duplicate API calls/race conditions
    - Handling loading states correctly
    - Building robust multi-instance components
    Interested to hear your thoughts. Thanks! 🙏
  • zarkk.-1448298175331827784

    Jamie w

    6

    21 days ago

    How does version control work?
    Hi there, I am brand new to nordcraft and am inheriting an existing project from a previous developer. The project owner has had issues with bad code being released to production immediately, and it seems like the previous developer was not using branches correctly. On querying them, they have told me this is because (they believe) we have a single database (through a xano connection, which I also don't know much about yet), and when merging a branch into main, the state of the database at the time of branch creation is also merged into main, thus losing all database edits that have happened since branch creation. Surely this cannot be true? Is there anything you can offer to help me unpack this?
  • iggy988-1448067111724384597

    Iggy

    4

    22 days ago

    Wrap doesn't work
    Hello, I need some help. I have been trying for days to solve an issue with flex wrap. Wrap is enabled, but the div elements are not responding as they should. What am I doing wrong?
  • baba_bambule-1447943567732641822

    BabaBambule

    1
    9

    22 days ago

    Need help with httpOnly API Fetch
    So I am currently trying to authenticate a user based on the information stored inside my access_token httpOnly Cookie.

    My Token contains a stringified json with token and id as values. On my homepage I've a graphQL call on auto-fetch with Server-side fetching and proxy request turned on.

    I am trying to get a user based on the id that is stored inside the httpOnly Cookie. But the reponse always gives me this error:
    "Invalid query. The filter value for "_eq" has to be a string, number, or boolean."

    I am on this for hours, trying different stuff the AI suggests but nothing works. Do I have a fundamental mistake on how the httpOnly Cookies work?