-
Notifications
You must be signed in to change notification settings - Fork 645
v2.30.0 #1994
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
v2.30.0 #1994
Changes from all commits
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -267,7 +267,8 @@ function Placeholder(props) { | |||||
| (props.isSignYourself || props.isSelfSign) | ||||||
| ) { | ||||||
| props.handleTextSettingModal(true); | ||||||
| } else { | ||||||
| } | ||||||
| else { | ||||||
| props?.handleNameModal && props?.handleNameModal(true); | ||||||
| } | ||||||
|
|
||||||
|
|
@@ -305,13 +306,7 @@ function Placeholder(props) { | |||||
| ) { | ||||||
| props.setUniqueId(props?.data?.Id); | ||||||
| } | ||||||
|
|
||||||
| //checking widget's type and open widget copy modal for required widgets | ||||||
| if ( | ||||||
| ["signature", textInputWidget, textWidget, "stamp", "initials"].includes( | ||||||
| props.pos.type | ||||||
| ) | ||||||
| ) { | ||||||
| if (props?.data?.Role !== "prefill") { | ||||||
| props.setIsPageCopy(true); | ||||||
| props.setCurrWidgetsDetails(props.pos); | ||||||
| } else { | ||||||
|
|
@@ -326,7 +321,7 @@ function Placeholder(props) { | |||||
| props.data && props.data?.Id | ||||||
| ); | ||||||
| //condiiton is used to store copied prefill image base64 url in redux for display image | ||||||
| if (props?.data?.Role === "prefill") { | ||||||
| if (props?.pos?.type === "image") { | ||||||
|
||||||
| if (props?.pos?.type === "image") { | |
| if (props?.data?.Role === "prefill") { |
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.
The condition for showing the page copy modal has been changed from checking specific widget types to checking if Role is not 'prefill'. This means the copy functionality is now available for ALL widgets in non-prefill roles, including those that may not have been intended to support copying (like dropdowns, radios, etc.). This could be intentional but represents a significant behavior change that should be verified.