Replies: 1 comment 1 reply
-
PageData is undefined (not yet accessible) on +layout.svelte hence the problem. This probably mean that it's bad to even try passing PageData to Modal component. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to pass PageData to a modal component to handle progressive form enhancement with form actions?
I've tried something like this, but without success:
Or because Modal component is singleton mounted only once above whole app it's a bad idea to pass PageData there?
Beta Was this translation helpful? Give feedback.
All reactions