diff --git a/packages/html/src/events/form.rs b/packages/html/src/events/form.rs
index ec65ffe03..113c765c5 100644
--- a/packages/html/src/events/form.rs
+++ b/packages/html/src/events/form.rs
@@ -14,7 +14,11 @@ pub struct FormData {
#[cfg_attr(
feature = "serialize",
- serde(skip_serializing, deserialize_with = "deserialize_file_engine")
+ serde(
+ default,
+ skip_serializing,
+ deserialize_with = "deserialize_file_engine"
+ )
)]
pub files: Option>,
}