[PR #2269] [MERGED] fix: disable browser autocomplete in typed signature input #2169

Closed
opened 2026-02-26 20:32:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2269
Author: @eeshm
Created: 12/2/2025
Status: Merged
Merged: 12/3/2025
Merged by: @dguyen

Base: mainHead: fix/disable-typed-signature-autocomplet


📝 Commits (1)

  • bea9c89 fix: disable browser autocomplete for typed signature input

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 packages/ui/primitives/signature-pad/signature-pad-type.tsx (+5 -1)

📄 Description

Description

This PR disables browser autocomplete and automatic text-correction features for the typed signature option.

Context

The signing flow includes three methods:

  • Upload signature
  • Draw signature
  • Type signature (this is the only one using a text input)

Browsers were autofilling the typed signature input with values like names or emails, which results in accidental or incorrect signatures.
Screenshot 2025-12-02 215715

Changes Made

Added the following properties to the typed signature :

autoComplete="off"
autoCorrect="off"
autoCapitalize="off"
spellCheck={false}

Why

  • Prevents unwanted browser autofill
  • Ensures typed signatures are always intentional
  • Matches UX/security expectations in signature tools
  • Does not affect the upload or draw methods

Testing Performed

  • Confirmed that browser autocomplete suggestions no longer appear
  • Typed input still works normally
  • Other signature types are unaffected

Checklist

  • I have tested these changes locally and they work as expected.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/2269 **Author:** [@eeshm](https://github.com/eeshm) **Created:** 12/2/2025 **Status:** ✅ Merged **Merged:** 12/3/2025 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `fix/disable-typed-signature-autocomplet` --- ### 📝 Commits (1) - [`bea9c89`](https://github.com/documenso/documenso/commit/bea9c89ac6d3484e80688d3f6681a9c056a282d2) fix: disable browser autocomplete for typed signature input ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/ui/primitives/signature-pad/signature-pad-type.tsx` (+5 -1) </details> ### 📄 Description ## Description This PR disables browser autocomplete and automatic text-correction features for the typed signature option. ## Context The signing flow includes three methods: - Upload signature - Draw signature - Type signature (this is the only one using a text input) Browsers were autofilling the typed signature input with values like names or emails, which results in accidental or incorrect signatures. <img width="637" height="503" alt="Screenshot 2025-12-02 215715" src="https://github.com/user-attachments/assets/e7ed5cb8-ac5e-42a9-8341-50f48717debf" /> ## Changes Made Added the following properties to the typed signature <input>: ``` autoComplete="off" autoCorrect="off" autoCapitalize="off" spellCheck={false} ``` ## Why - Prevents unwanted browser autofill - Ensures typed signatures are always intentional - Matches UX/security expectations in signature tools - Does not affect the upload or draw methods ## Testing Performed - Confirmed that browser autocomplete suggestions no longer appear - Typed input still works normally - Other signature types are unaffected ## Checklist - [x] I have tested these changes locally and they work as expected. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:32:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#2169
No description provided.