[BUG] Creating a variable input repeatedly escapes the string
Describe the bug
When attempting to create a variable, a quotation mark is repeatedly escaped.
To Reproduce Steps to reproduce the behavior:
- Create a Variable in a workflow.
- Choose any double quoted string for the variable value.
Expected behavior
Should be able to edit a string.
Additional context
Amazing tool you're building. I totally see the application for this, please let me know if you'd like me to suggest some application use cases for this.
@keshavsaharia We'll make this a bit more clear. For adding quotations you should use the plaintext option in the dropdown instead of string.
String automatically wraps in quotations.
@keshavsaharia I'll fix this now.
Ah thank you! Btw, there is one bug I didn't track down where it seems like saving the state on every keystroke is blocking the React re-rendering thread, so everything locks up briefly if you're a fast typer. Perhaps do the state saving with a setTimeout debounce, which would also help reduce your network bandwidth when you go live :)
Truly this is the most beautiful React Flow app I've ever seen - that's why I took a little time on a Sunday to try and spin it up. Happy to be a future beta tester/free advocate if you need one!
@keshavsaharia I fixed your previous issue! Yes that's true! I'll have to add that logic in ASAP. Thanks for bringing that up - I'll go ahead and write a fix for it.
Also that's awesome I'm glad you like it! Would for sure love for you to be an advocate 😄 . Are you in the Discord?