fix(seed): add valid lexical confirmationMessage structure to forms seed
This commit is contained in:
@@ -56,6 +56,28 @@ export async function seed(payload: Payload) {
|
|||||||
title: 'Formularz Wyceny i Kontaktu',
|
title: 'Formularz Wyceny i Kontaktu',
|
||||||
submitButtonLabel: 'Wyślij zapytanie o bezpłatną wycenę',
|
submitButtonLabel: 'Wyślij zapytanie o bezpłatną wycenę',
|
||||||
confirmationType: 'message',
|
confirmationType: 'message',
|
||||||
|
confirmationMessage: {
|
||||||
|
root: {
|
||||||
|
type: 'root',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
type: 'paragraph',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
type: 'text',
|
||||||
|
text: 'Dziękujemy za kontakt! Twoje zgłoszenie zostało zapisane. Nasz doradca skontaktuje się z Tobą wkrótce.',
|
||||||
|
version: 1,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
version: 1,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
direction: 'ltr',
|
||||||
|
format: '',
|
||||||
|
indent: 0,
|
||||||
|
version: 1,
|
||||||
|
},
|
||||||
|
},
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
blockType: 'text',
|
blockType: 'text',
|
||||||
|
|||||||
Reference in New Issue
Block a user