ui
ui copied to clipboard
BUG: Pasting Parameter Value in the UI fails
Bug Description Pasting values form clipboard into the field for a Run will yield to the last param to be ignored and sent as NULL.
Steps To Reproduce
What's sent:
Browsers Tested:
- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Edge
- [ ] IE
Notes
Workarounds: a) Switch to JSON view before submitting. or b) input something manually in the field and then erase it.
Thanks for raising this @raphael-riel - Looking into it.
Hi @raphael-riel - I've tried to recreate this and can't. (Tried copying and pasting into both json and the text fields. Tried copying into one field and not the other and into both, tried with default params and none.) Can you try it again and see if you still have the issue. If you do can you let me know/confirm:
- Are both the values you are copying/pasting string types?
- You are copying and pasting into the text box? (i.e. not JSON)
- Do the correct param values show up in the params section of the details tile on the flow run page?
- Do the correct param values show up in a flow run query of the IAPI?
Thanks!
I managed to repro while recording
Hopefully this helps!
Toggling JSON back and forth did fix the input.
@zhen0 should be closed with #1095 merged?