buddyboss-platform
buddyboss-platform copied to clipboard
PROD-739 #2947 - Fix: Profile edit > Field set issue in saving
All Submissions:
- [x] Have you followed the Pull Requests Guidelines?
- [x] Does your code follow the WordPress' Coding Standards?
- [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
Fixes #2947 .
How to test the changes in this Pull Request:
- Setup fieldset with repeater and make the fields inside it required.
- Go to User profile > edit.
- Try adding blank fieldsets.
- Change some of the fields and delete empty fieldsets and save them.
- Can see deleted fieldset will delete from the user profile.
Proof Screenshots or Video
https://vimeo.com/624258970/c200ab761a
Other information:
- [x] Have you added an explanation of what your changes do and why you'd like us to include them?
- [ ] Have you written new tests for your changes, as applicable?
- [x] Have you successfully run tests with your changes locally?
Changelog entry
Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.