This repository has been archived by the owner on Feb 25, 2024. It is now read-only.
Bug: [xstate/inspect] Send event dialogue does not send any events #413
Labels
bug
Something isn't working
Description
When using XState Inspect and Vue the "send event" button on the events tab does not send any event to my machine.
When I click the corresponding event button in the visualized machine on the left the transition works. The issue is that I want to attach a payload to the event. This is only possible by manually crafting the event using the "Send event" dialogue.
If I click send, the event is neither sent with nor without a payload though.
It also works when you are pasting the machine directly into the visualizer without xstate inspect.
Expected result
Given I am using the xstate inspector interface
when I specify an event on the "send event" dialogue
and I click send
then I want my selected machine to receive the specified event
Actual result
Given I am using the xstate inspector interface
when I click send on the "send event" dialogue
then the event is not send
Reproduction
https://codesandbox.io/s/distracted-lalande-x4nj69?file=/src/main.js:126-131
Additional context
Not sure if that makes a difference but I am using vue as a framework.
Browser: Latest chrome
The text was updated successfully, but these errors were encountered: