diff --git a/packages/html/src/events/form.rs b/packages/html/src/events/form.rs index 2e2fc5934..e86f72167 100644 --- a/packages/html/src/events/form.rs +++ b/packages/html/src/events/form.rs @@ -47,7 +47,7 @@ impl FormData { // what we need it to be: { username: "rust", password: "dioxus"} fn get_parsed_values(&self) -> Result { if self.values.is_empty() { - return Err(serde_json::Error::custom("Values is empty")); + return Err(serde_json::Error::custom("Values array is empty")); } let raw_values = self.values.clone();