Empty input file field when "View Another Chat" (Back) button is clicked
Closed this issue · 0 comments
prabhakar267 commented
Reproducing the bug
When a user converts a chat, a button View another chat
comes in navbar. When clicked the user is taken to the home screen but the input field is still populated with old field.
Solution
The field should be cleared as soon as that button is clicked.
Fix Location: restoreForm
function in script.js
Reference: https://stackoverflow.com/a/20552042