From 0deb8278f9179e1c3fcfddaffd03c4888552e639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kry=C5=A1p=C3=ADn?= Date: Thu, 8 Aug 2024 15:21:49 +0200 Subject: [PATCH] Docs(web-react): Set correct type of autoComplete prop in docs --- packages/web-react/src/components/TextField/README.md | 4 ++-- packages/web-react/src/components/TextFieldBase/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/web-react/src/components/TextField/README.md b/packages/web-react/src/components/TextField/README.md index ca1d359a67..3cb1fdc9e6 100644 --- a/packages/web-react/src/components/TextField/README.md +++ b/packages/web-react/src/components/TextField/README.md @@ -45,8 +45,8 @@ TextField with password toggle (button to reveal the password): ## API | Name | Type | Default | Required | Description | -| ------------------- | --------------------------------------------------------------------------- | ------- | -------- | ----------------------------------------------------------------------- | -| `autoComplete` | `bool` | — | ✕ | [Automated assistance in filling][autocomplete-attr] | +| ------------------- |-----------------------------------------------------------------------------| ------- | -------- | ----------------------------------------------------------------------- | +| `autoComplete` | `string` | — | ✕ | [Automated assistance in filling][autocomplete-attr] | | `hasPasswordToggle` | `bool` | — | ✓ | If true, the `type` is set to `password` and a password toggle is shown | | `helperText` | `string` | — | ✕ | Custom helper text | | `id` | `string` | — | ✓ | Input and label identification | diff --git a/packages/web-react/src/components/TextFieldBase/README.md b/packages/web-react/src/components/TextFieldBase/README.md index 4fae4970d4..f96a682185 100644 --- a/packages/web-react/src/components/TextFieldBase/README.md +++ b/packages/web-react/src/components/TextFieldBase/README.md @@ -42,8 +42,8 @@ TextFieldBase with password toggle (button to reveal the password): ## API | Name | Type | Default | Required | Description | -| ------------------- | --------------------------------------------------------------------------- | ------- | -------- | ----------------------------------------------------------------------- | -| `autoComplete` | `bool` | — | ✕ | [Automated assistance in filling][autocomplete-attr] | +| ------------------- |-----------------------------------------------------------------------------| ------- | -------- | ----------------------------------------------------------------------- | +| `autoComplete` | `string` | — | ✕ | [Automated assistance in filling][autocomplete-attr] | | `hasPasswordToggle` | `bool` | — | ✕ | If true, the `type` is set to `password` and a password toggle is shown | | `helperText` | `string` | — | ✕ | Custom helper text | | `id` | `string` | — | ✓ | Input and label identification |