-
Notifications
You must be signed in to change notification settings - Fork 8
[CMG-726] - The “Overlapping” and “Advanced Settings” buttons are not responding on multiple clicks. #810
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
[CMG-726] - The “Overlapping” and “Advanced Settings” buttons are not responding on multiple clicks. #810
Changes from 5 commits
c1e4598
b767523
2537325
e6f12b1
5a4de41
54c45d8
fa5bd36
1dab9fa
0f4eb92
585e624
2799cba
a91eb7b
ac72604
1bfde71
cdcedf4
5f1eeff
3eb1eb0
8e01696
aa8e183
860ee72
f8ac7db
b3fa09a
087d330
a6d356e
d6c63ee
b46532a
595e9f4
fd4d592
c46761f
d12b956
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -316,8 +316,6 @@ const AdvancePropertise = (props: SchemaProps) => { | |
| }); | ||
| }; | ||
|
|
||
|
|
||
|
|
||
| const handleDrop = (index: number) => { | ||
| if (draggedIndex === null) return; | ||
|
|
||
|
|
@@ -576,7 +574,11 @@ const AdvancePropertise = (props: SchemaProps) => { | |
| ); | ||
| }} | ||
| options={ | ||
| option} | ||
| (Array.isArray(props?.data?.referenceTo) && props?.data?.referenceTo?.length) ? [props.data.referenceTo.map((item: any) => ({ | ||
| label: item, | ||
| value: item | ||
| })), ...option] | ||
| : option ?? []} | ||
|
||
| placeholder="Add Content Type(s)" | ||
| version="v2" | ||
| isSearchable={true} | ||
|
|
@@ -659,6 +661,7 @@ const AdvancePropertise = (props: SchemaProps) => { | |
| true | ||
| )) | ||
| } | ||
| disabled={props?.fieldtype === 'Modular Blocks' || props?.fieldtype === 'Block'} | ||
| /> | ||
| </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.
Replace
anytype with a more specific type definition. Theitemparameter should have an explicit type for better type safety.