Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: appends editDepth value to radio & checkbox IDs when inside drawer #6181

Merged
merged 5 commits into from May 10, 2024

Conversation

PatrikKozak
Copy link
Contributor

Description

Fixes #5507 #6131

Fix: appends the editDepth value to the IDs of radio and checkbox fields so when opening up a drawer (e.g. relationship add new), the radio & checkbox fields inside the drawer will have different IDs than the ones from the original document.

Beforehand, these fields were sharing the same ids so updating one of these fields inside the drawer would not change anything in the drawer but instead update the field value from the original document.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes

@PatrikKozak PatrikKozak changed the title fix: appends editDepth value to radio & checkbox IDs when inside drawer fix: appends editDepth value to radio & checkbox IDs when inside drawer May 6, 2024
@PatrikKozak PatrikKozak merged commit 69c93d3 into main May 10, 2024
33 checks passed
@PatrikKozak PatrikKozak deleted the fix/radio-checkbox-edit-depth branch May 10, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants