This repository was archived by the owner on Mar 7, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 143
Fix bug when removing dynamic sections #270
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
3f29ff1
Fixed
3lvis 50c692f
Revert "Fixed"
3lvis 0e915d9
Improve test
3lvis 93fd853
Update test
3lvis 0948ab6
Update test
3lvis 0cecb93
Initial fix
3lvis 2d5a5fd
Add more tests
3lvis 9fb07ac
Move removal logic to FORMData
3lvis 8a70e67
Add more tests
3lvis 5aee335
Merge branch 'master' into fix/bug-when-removing-dynamic-forms
3lvis f6c7076
Improve removeSection
3lvis ead0085
Improve tests
3lvis b8b0bd0
Improve dynamic json
3lvis db96611
Keep non-relationships values
3lvis edfad6e
Use hyp_containsString
3lvis 76fd3f1
Refactoring
3lvis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,6 +59,7 @@ - (instancetype)initWithDictionary:(NSDictionary *)dictionary | |
| field.sectionSeparator = YES; | ||
| field.position = @(fields.count); | ||
| field.section = self; | ||
| field.fieldID = [NSString stringWithFormat:@"separator-%@", _sectionID]; | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Separators didn't have a field ID, they where showing up as
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yah, I think I saw the |
||
| [fields addObject:field]; | ||
| } | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline 😱