Set path param from within nested component

  • dfeinberg5-1345759862927396864

    Danny

    13 days ago

    Should I be able to set a page param from within a nested component (e.g. a navigation sidebar)? I'm pretty sure I used to see the URL actions, but nothing is showing unless I'm on the top level page component.
  • lucasg-1345781218356101183

    Lucas G

    13 days ago

    No you have to create a workflow and expose it via context to change path params from other places
  • Components don’t “know” where they’ll be used so they can’t have that info in them
    👍1
  • dfeinberg5-1345784917799342195

    Danny

    13 days ago

    That’s what I figured. I actually did exactly that but it seems like my workflow isn’t being called even though I’ve subscribed to the context. I’ll have to mess around with it some more and see if I missed something.
  • lucasg-1345793002588864522

    Lucas G

    13 days ago

    If the workflow uses workflow inputs to set the path values it should work 🤔
  • dfeinberg5-1345801807544188980

    Danny

    13 days ago

    Naturally it was something stupid... 🙃

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.