Enabling Different transitions with same from - to states #206
MuathIbnHassan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thanks to everyone did any effort to improve this package
I need to have multiple transitions between the same states with different
canTransition()
andhandle()
Because the
$allowedTransitions
array is keyed by"{$from}-{$to}"
, the last call toallowTransition()
will overwrite the first oneeven when the
canTransition()
for the last one is falsee.g.
Beta Was this translation helpful? Give feedback.
All reactions