[PR #1794] [MERGED] fix: allow prefilling date field #1852

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1794
Author: @Mythie
Created: 5/14/2025
Status: Merged
Merged: 5/14/2025
Merged by: @Mythie

Base: mainHead: fix/prefill-date-field


📝 Commits (1)

  • 24159a7 fix: allow prefilling date field

📊 Changes

2 files changed (+38 additions, -4 deletions)

View changed files

📝 packages/lib/server-only/template/create-document-from-template.ts (+34 -4)
📝 packages/lib/types/field-meta.ts (+4 -0)

📄 Description

Allows the prefilling of date fields when creating a document from a template.

Current implementation is super dirty and should be replaced asap.


🔄 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/1794 **Author:** [@Mythie](https://github.com/Mythie) **Created:** 5/14/2025 **Status:** ✅ Merged **Merged:** 5/14/2025 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/prefill-date-field` --- ### 📝 Commits (1) - [`24159a7`](https://github.com/documenso/documenso/commit/24159a7789bacfa04a21ffbecf9a072509eab85b) fix: allow prefilling date field ### 📊 Changes **2 files changed** (+38 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/lib/server-only/template/create-document-from-template.ts` (+34 -4) 📝 `packages/lib/types/field-meta.ts` (+4 -0) </details> ### 📄 Description Allows the prefilling of date fields when creating a document from a template. Current implementation is super dirty and should be replaced asap. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:31:21 +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#1852
No description provided.