Skip to content

Commit

Permalink
🐛 [#3688] Properly access the 'formio-like' data
Browse files Browse the repository at this point in the history
Accessing dotted-keys like foo.bar in the underlying data
structure used by FormioData does not work, the point of
FormioData is to abstract this access.
  • Loading branch information
sergei-maertens committed Mar 22, 2024
1 parent 4445f04 commit 4700eb1
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,12 +400,7 @@ def get_object_data(
}
)

variables_values = FormioData(
{
**dynamic_values,
**static_values,
}
).data
variables_values = FormioData({**dynamic_values, **static_values})

variables_mapping = options["variables_mapping"]
record_data: dict[str, JSONValue] = {}
Expand Down

0 comments on commit 4700eb1

Please sign in to comment.