Can't pass component, when using `put_toast`
When I do a put_toast it is not using the function i put in the component option, but rather the default one.
It works with send_toast, but I need to use put_toast as i navigate to another page.
how to reproduce
- click the blue button and see how it should say "My component [...]" but says "We Toasting, [...]". Here it does not use my own component for the toast. (put_toast)
- click the green button and watch how it uses the component. (send_toast)
Interesting. Thank you for the repro repo, I will take a look.
we have same issue, but we handled it sent_toast because we don't have navigation changes but it can happen soon that we will.
I understand what you're saying now. What's happening here is that the custom component option only applies to toast messages, but across navigations we have to fall back to a flash navigation. I'll have to add a custom flash component config as well. Pretty sure someone else asked for this a while ago too.