summaryrefslogtreecommitdiffstats
path: root/src/components/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/mod.rs')
-rw-r--r--src/components/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/mod.rs b/src/components/mod.rs
index 9ef867b..fe83441 100644
--- a/src/components/mod.rs
+++ b/src/components/mod.rs
@@ -346,6 +346,7 @@ pub fn MaybeFillInput<'a, M: GetIndex<&'a str, serde_json::Value>>(
r#type: &'a str,
name: &'a str,
required: bool,
+ id: &'a str,
) {
let value = maybe_fill_value(values, name, None);
if required {
@@ -354,6 +355,7 @@ pub fn MaybeFillInput<'a, M: GetIndex<&'a str, serde_json::Value>>(
r#type
name
value
+ id
required={""}
/>
}
@@ -363,6 +365,7 @@ pub fn MaybeFillInput<'a, M: GetIndex<&'a str, serde_json::Value>>(
r#type
name
value
+ id
/>
}
}