Skip to content

fix: ensure dependent field values are set to null when removed#38

Closed
trandbert37 wants to merge 1 commit intoSymfonyCasts:mainfrom
trandbert37:bugfix/fix-cascade-dependent-fields-value
Closed

fix: ensure dependent field values are set to null when removed#38
trandbert37 wants to merge 1 commit intoSymfonyCasts:mainfrom
trandbert37:bugfix/fix-cascade-dependent-fields-value

Conversation

@trandbert37
Copy link

  • Updated executeReadyCallbacks method to set the value of dependent fields to null before removing them from the form.
  • This prevents outdated or invalid data from being retained when fields are dynamically removed based on form dependencies.
  • Improved handling of nested dependencies where a field depends on another dependent field that might no longer exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant