HMR attempts to restore values for inputs of type "file" #22084
Labels
area: @angular-devkit/build-angular
devkit/build-angular:dev-server
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
No
Description
When we use HMR, this one tries to restore values for fields after reloading. Unfortunately, it also tries to do this for inputs of type file, which it should not do. Only the user can update a value of this type. This causes the browser to report the error.
🔬 Minimal Reproduction
ng serve --hmr
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: