When uploading a form, after selecting a file, the path of the file should be displayed, but if the same file is selected continuously, the file path will not be displayed for the second time.
Solution: Set the input value to empty after uploading, input.value='';