hidden from the user now in the form
This commit is contained in:
@@ -107,11 +107,8 @@ impl FormState {
|
||||
&mut self,
|
||||
response_data: &HashMap<String, String>,
|
||||
) {
|
||||
self.values = self.fields
|
||||
.iter()
|
||||
.map(|field_name| {
|
||||
response_data.get(field_name).cloned().unwrap_or_default()
|
||||
})
|
||||
self.values = self.fields.iter()
|
||||
.map(|field| response_data.get(field).cloned().unwrap_or_default())
|
||||
.collect();
|
||||
|
||||
if let Some(id_str) = response_data.get("id") {
|
||||
|
||||
Reference in New Issue
Block a user