Repository navigation
Conversation
|
@alfonsodg is attempting to deploy a commit to the OpenSign's projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
🟡 Changes recommended
Editing-path regressions, blocked settings access and bypassed validation affect core authoring and signing workflows.
7 open issues
Keep value modal for non-inline prefill widgets · New Enable inline textarea editing during authoring · New Enable inline editing for all supported self-signing modes · New Suppress value modal for dropdowns and checkboxes · New Enforce maximum checkbox selections in inline handler · New Validate inline text and email input before completion · New Select widgets when entering inline controls · New
What changed in this PR
Moves PDF field entry onto the document surface to reduce switching between fields and the bottom configuration panel during authoring and signing.
Changes:
- Adds inline text, dropdown and checkbox controls with immediate value updates.
- Changes field-click behavior to suppress value modals.
- Disables automatic text-field height growth during inline editing.
| File | Description |
|---|---|
apps/OpenSign/src/components/pdf/PlaceholderType.jsx |
Adds inline controls, persistence handlers and an auto-height guard. |
apps/OpenSign/src/components/pdf/Placeholder.jsx |
Changes modal routing for signing and authoring field clicks. |
Review effort: Balanced
Comment on lines
+296
to
+298
| if (props?.isNeedSign) { | ||
| dispatch(setIsShowModal({ [props.pos.key]: true })); | ||
| } |
| (props.pos.options?.isReadOnly || | ||
| props.data?.signerObjId !== props.signerObjId); | ||
| const canEditInline = | ||
| (props.isPlaceholder && !props.isNeedSign) || |
Comment on lines
+47
to
+49
| const canEditInline = | ||
| (props.isPlaceholder && !props.isNeedSign) || | ||
| (props.isNeedSign && iswidgetEnable && !isReadOnly); |
Comment on lines
+270
to
+272
| "email" | ||
| ]; | ||
| if (!textTypes.includes(props.pos.type)) { |
Comment on lines
+341
to
+342
| if (isChecked) { | ||
| updateSelectedCheckbox.push(ind); |
Comment on lines
+399
to
+403
| onChange={(e) => { | ||
| if (canEditInline) { | ||
| const val = e.target.value; | ||
| setwidgetValue(val); | ||
| if (props.setXyPosition) { |
Comment on lines
+883
to
+885
| onClick={(e) => { | ||
| if (canEditInline) e.stopPropagation(); | ||
| }} |
This was referenced Oct 21, 2026
…Labs#2274) Fixes OpenSignLabs#2274 Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
alfonsodg
force-pushed
the
pr/2274-inline-editing
branch
from
October 22, 2026 17:08
04e53d2 to
180716e
Compare
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Problem
Field values could only be edited in a separate configuration window that
opened below the document. Filling a document therefore required a constant
switch between the document surface and the panel, which is slow and error
prone, and it is far from the industry-standard form-filling experience.
Affected files
apps/OpenSign/src/components/pdf/Placeholder.jsxapps/OpenSign/src/components/pdf/PlaceholderType.jsxapps/OpenSign/src/pages/PlaceHolderSign.jsxREADME.mdFix
Text, dropdown and checkbox fields are now edited directly on the document
surface:
persisted as you type.
gear icon still opens the settings for the selected field.
Acceptance criteria