Skip to content

Commit

Permalink
Docs(web-react): Set correct type of autoComplete prop in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed Aug 8, 2024
1 parent 1f9ffbd commit 0deb827
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/web-react/src/components/TextField/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions packages/web-react/src/components/TextFieldBase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 0deb827

Please sign in to comment.