From 7f73ef3da3fc2c5fe8da89d0a14af4b3307572da Mon Sep 17 00:00:00 2001 From: Lukasz Ostrowski Date: Thu, 6 Nov 2025 11:17:54 +0100 Subject: [PATCH] Add "long-text" attribute for available field type in FormUpdate events --- .changeset/petite-shoes-play.md | 5 +++++ src/app-bridge/form-payload.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/petite-shoes-play.md diff --git a/.changeset/petite-shoes-play.md b/.changeset/petite-shoes-play.md new file mode 100644 index 00000000..a5323e5a --- /dev/null +++ b/.changeset/petite-shoes-play.md @@ -0,0 +1,5 @@ +--- +"@saleor/app-sdk": patch +--- + +Add "long-text" attribute for available field type in FormUpdate events diff --git a/src/app-bridge/form-payload.ts b/src/app-bridge/form-payload.ts index 39d2f276..84f97b3b 100644 --- a/src/app-bridge/form-payload.ts +++ b/src/app-bridge/form-payload.ts @@ -26,7 +26,7 @@ type TranslationField = { originalValue: string; translatedValue: string; currentValue: string; - type: "short-text" | "editorjs"; + type: "short-text" | "editorjs" | "long-text"; }; export type FormPayloadProductTranslate = ProductPayloadBase & { @@ -59,7 +59,7 @@ export type FormPayloadProductEdit = ProductPayloadBase & { fieldName: string; originalValue: string; currentValue: string; - type: "short-text" | "editorjs"; + type: "short-text" | "editorjs" | "long-text"; } >; };