Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@voyou-sbeaulieu
Copy link

@voyou-sbeaulieu voyou-sbeaulieu commented Jul 10, 2019

Hi!
Keep on the good work! We use this logic for all our project now and since we use lots of group / flexible we ran into some problem with the remove / modifyField with groups.

Those functions were missing from the Group scope. linked to issue #82

Those functions were missing from the Group scope. Liked to issue StoutLogic#82
@stevep
Copy link
Member

stevep commented Jul 21, 2019

Hey @voyou-sbeaulieu, finally getting around to making updates to the library. Can you add tests to the test suite for this? Just so in the future we don't break things. Thanks

@voyou-sbeaulieu
Copy link
Author

@stevep Sorry for the late reply! Not very familiar with the tests? But I can tell you we already made about ~5 projects with this fix and they all work well no other alteration needed.

Just tell me where / what to test and I will surely do it as soon as possible!

Thank for your time!

@marcelo2605
Copy link

@voyou-sbeaulieu Did you test this change using the latest version?

@voyou-sbeaulieu
Copy link
Author

voyou-sbeaulieu commented Aug 20, 2021 via email

@marcelo2605
Copy link

Thanks for the reply @voyou-sbeaulieu. I added your changes on my end and try to modify a repeater subfield this way and also this way. But it still throw an error.

stevep added a commit that referenced this pull request Sep 16, 2021
stevep added a commit that referenced this pull request Sep 17, 2021
…esting. #142 #91 #141 #82

If modifying a Layout (FieldsBuilder), pass updated array config to FieldsBuilder::updateGroupConfig
This change also calls removeField and modifyField recursively along the nesting path, so the correct modify / remove action can be taken if running into a Flexible Content field
@stevep
Copy link
Member

stevep commented Sep 17, 2021

This has been released in version 1.12.0

@stevep stevep closed this Sep 17, 2021
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.

3 participants