AutomaApp / automa

A browser extension for automating your browser by connecting blocks
https://www.automa.site
Other
10.73k stars 1.09k forks source link

Button does not save the variables when triggering a workflow in a custom extension #1705

Open jlopez994 opened 2 months ago

jlopez994 commented 2 months ago

Describe the bug I try to set some variables in the workflow context (inside the button component) but it doesn't save this changes.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.automa.site/extensions and go to Customize section
  2. Create a button
  3. Add a click event handler and set it to run a workflow
  4. Change the options value to something like this: { "variables": { "test": 1 } }
  5. Click on another part the page in order to hide the component view
  6. Click on the button component and check the options.

Expected behavior The options should be saved when it changes.

Screenshots If applicable, add screenshots to help explain your problem.

Setting a value...

image

After reopening...

image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.