-
Notifications
You must be signed in to change notification settings - Fork 8
[CMG-103] - UI for Mapping with group field #98
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
Conversation
| <span className="AccountPage__circle AccountPage__circle_seven"></span> | ||
| </div> | ||
| <div className="AccountPage__action"> | ||
| <div className="AccountPage__content">{props.children}</div> |
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.
add validation
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.
Done
| const data: FieldMapType[] = [] | ||
| schema?.forEach((field) => { | ||
| if (field?.ContentstackFieldType === "group") { | ||
| groupId = field.uid |
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.
add validation
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.
Done
| obj?.child?.push(field) | ||
| } | ||
| else{ | ||
| obj.child = [field] |
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.
add validation
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.
It is an assignment of an array so it can't be optional.
| <ul> | ||
| {nestedList?.map((item: FieldMapType, index: number) => { | ||
| let outlineName = ""; | ||
| if (item.uid) { |
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.
add validation
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.
Done
No description provided.