Skip to content

Conversation

rvsia
Copy link
Contributor

@rvsia rvsia commented Apr 11, 2022

Fixes #1227

Description

Nested values were not correctly cloned so react.memo was receiving the updated values all the time and never updated the condition result.

@rvsia rvsia added bug Something isn't working renderer React form renderer PR labels Apr 11, 2022
@rvsia rvsia requested a review from Hyperkid123 April 11, 2022 13:36
@DataDrivenFormsBot
Copy link

A new version (fix) will be released: v3.17.2 [DataDrivenFormsBot]

@rvsia rvsia force-pushed the cloneValuesInCondition branch from c6e8782 to 0a65339 Compare April 11, 2022 13:41
@codecov
Copy link

codecov bot commented Apr 11, 2022

Codecov Report

Merging #1231 (8d5514c) into master (e5ab3d2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1231   +/-   ##
=======================================
  Coverage   95.07%   95.07%           
=======================================
  Files         209      209           
  Lines        3612     3612           
  Branches     1261     1261           
=======================================
  Hits         3434     3434           
  Misses        178      178           
Impacted Files Coverage Δ
...act-form-renderer/src/form-renderer/render-form.js 100.00% <ø> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@rvsia rvsia force-pushed the cloneValuesInCondition branch from 0a65339 to 8d5514c Compare April 11, 2022 13:43
@Hyperkid123 Hyperkid123 merged commit aa7fdf7 into data-driven-forms:master Apr 11, 2022
@rvsia rvsia added the released label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released renderer React form renderer PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OR condition behaviour
3 participants