image-sequencer
image-sequencer copied to clipboard
Clear Input Field After Selecting a Module/Step
Please describe the problem (or idea)
What happened just before the problem occurred? Or what problem could this idea solve?
The Step remains Intact in the input field Even after its selection.
observe it here -
https://user-images.githubusercontent.com/75980147/109331037-590c6c00-7882-11eb-826c-69e000501685.mov
What did you expect to see that you didn't?
After Selecting a Step/Module the input field must be Cleared out, so that a user don't have to manually erase it to choose another step.
Please show us where to look
https://beta.sequencer.publiclab.org/
Thank you!
Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.
To learn how to write really great issues, which increases the chances they'll be resolved, see:
https://publiclab.org/wiki/developers#Contributing+for+non-coders
Thanks for opening your first issue here! This space is protected by our Code of Conduct - and we're here to help. Please follow the issue template to help us help you 👍🎉😄 If you have screenshots to share demonstrating the issue, that's really helpful! 📸 You can make a gif too! Don't forget to join our PublicLab Gitter channel and our ImageSequencer Gitter Channel for some brainstorming discussions.
@HarshKhandeparkar what do you think of this ?
A small but nice change.
@harshkhandeparkar can I work on this?
@harshkhandeparkar can I work on this?
Go ahead!
Hi, I would like to fix this issue. Do you still want this fixed?
Hi, I would like to fix this issue. Do you still want this fixed?
Sure!
Hey, I tried looking for the bug. I found this in the index.html file in examples/ folder.
index.html

I looked in the demo.js file which is calling addStepsUI handler function to add options in here. We are seeing the last choosed option because we added <options> in <select> manually using the script.
This handler is present in this file defaultHTMLSequencerUi. But I am not able to figure out how is this file getting generated.
It's not a generated file, it is the source.
You can run npm start to test your changes in the browser.