fix(migration): reset file input value on cancel

resetToUpload() cleared state but not the file input's value, so
re-selecting the same file after cancel would not trigger a change
event in the browser.
This commit is contained in:
kolaente 2026-03-05 11:23:17 +01:00
parent ada0dc1ffa
commit c6cdd551a1
1 changed files with 3 additions and 0 deletions

View File

@ -363,6 +363,9 @@ function resetToUpload() {
detectionResult.value = null
previewResult.value = null
error.value = ''
if (uploadInput.value) {
uploadInput.value.value = ''
}
config.value = {
delimiter: ',',
quote_char: '"',