[PATCH] Add placeholder attribute to forms
Export this patch
---
src/components/mod.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/components/mod.rs b/src/components/mod.rs
index 9ef867b..44079b0 100644
--- a/src/components/mod.rs
+++ b/src/components/mod.rs
@@ -354,6 +354,7 @@ pub fn MaybeFillInput<'a, M: GetIndex<&'a str, serde_json::Value>>(
r#type
name
value
+ placeholder={name}
required={""}
/>
}
@@ -363,6 +364,7 @@ pub fn MaybeFillInput<'a, M: GetIndex<&'a str, serde_json::Value>>(
r#type
name
value
+ placeholder={name}
/>
}
}
--
2.27.0