From f3c109c83ddd1198de2a34b3f80a2ad3080a539a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kry=C5=A1p=C3=ADn?= Date: Thu, 25 May 2023 13:15:28 +0200 Subject: [PATCH] Docs(web-twig): Update TextFieldBase message prop API to same type as other multiline messages --- .../web-twig/src/Resources/components/TextFieldBase/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-twig/src/Resources/components/TextFieldBase/README.md b/packages/web-twig/src/Resources/components/TextFieldBase/README.md index 0c46b68a84..87240ed45a 100644 --- a/packages/web-twig/src/Resources/components/TextFieldBase/README.md +++ b/packages/web-twig/src/Resources/components/TextFieldBase/README.md @@ -73,8 +73,8 @@ Without lexer: | `isRequired` | `bool` | `false` | no | If true, input is required | | `label` | `string` | — | yes\* | Label text | | `UNSAFE_label` | `string` | — | yes\* | Unescaped label text | -| `message` | `string`, `array` | `null` | no | Validation message | -| `UNSAFE_message` | `string`, `array` | `null` | no | Unescaped validation message | +| `message` | `string`, `string[]` | `null` | no | Validation message | +| `UNSAFE_message` | `string`, `string[]` | `null` | no | Unescaped validation message | | `name` | `string` | `null` | no | Input name | | `pattern` | `string` | `null` | no | Defines regular expressions for allowed value types | | `placeholder` | `string` | `null` | no | Input placeholder |