Skip to content

Commit 24dad01

Browse files
authored
fix(plugin-form-builder): display full textarea content in form submissions (#14161)
Fixes #14102 Changed `submissionData.value` field type from `text` to `textarea` to properly display multi-line content in the Form Submissions admin view. The `text` field type was rendering content in single-line inputs with 40px fixed height, truncating textarea values. Using `textarea` field type leverages Payload's existing multi-line rendering.
1 parent 8663024 commit 24dad01

File tree

1 file changed

+1
-1
lines changed
  • packages/plugin-form-builder/src/collections/FormSubmissions

1 file changed

+1
-1
lines changed

packages/plugin-form-builder/src/collections/FormSubmissions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const generateSubmissionCollection = (
5555
},
5656
{
5757
name: 'value',
58-
type: 'text',
58+
type: 'textarea',
5959
required: true,
6060
validate: (value: unknown) => {
6161
// TODO:

0 commit comments

Comments
 (0)