From f796e8c0e2a349430702d1c611f5a822cd68d96f Mon Sep 17 00:00:00 2001 From: Anders Date: Thu, 9 Mar 2023 10:22:02 +0100 Subject: [PATCH] docs(Autocomplete): minor spelling improvement in title (#2069) --- .../src/docs/uilib/components/autocomplete/properties.mdx | 2 +- .../dnb-eufemia/src/components/autocomplete/Autocomplete.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/properties.mdx index f3d99e895f5..691b556cd51 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/properties.mdx @@ -30,7 +30,7 @@ You may check out the [DrawerList Properties](#drawerlist-properties) down below | `size` | _(optional)_ define the height of the Autocomplete. Can be set to `small`, `default`, `medium` and `large`. Defaults to `default`. | | `drawer_class` | _(optional)_ define a custom class for the internal drawer-list. This makes it possible more easily customize the drawer-list style with styled-components and the `css` style method. Defaults to `null`. | | `show_submit_button` | _(optional)_ use `true` to show a Autocomplete button to toggle the [DrawerList](/uilib/components/fragments/drawer-list). Defaults to `false`. | -| `title` | _(optional)_ give a title to let the user know what theyhaves to do. Defaults to `Skriv og få alternativer'` . | +| `title` | _(optional)_ give a title to let the user know what they have to do. Defaults to `Skriv og få alternativer'` . | | `align_autocomplete` | _(optional)_ use `right` to change the options alignment direction. Defaults to `left`. | | `no_options` | _(optional)_ text show in the "no options" item. Defaults to `Ingen alternativer`. | | `aria_live_options` | _(optional)_ text read out by screen readers. This way users with screen readers know how many options they got during typing. Defaults to `%s alternativer`. | diff --git a/packages/dnb-eufemia/src/components/autocomplete/Autocomplete.d.ts b/packages/dnb-eufemia/src/components/autocomplete/Autocomplete.d.ts index 9de93a3b085..5003a57c9f9 100644 --- a/packages/dnb-eufemia/src/components/autocomplete/Autocomplete.d.ts +++ b/packages/dnb-eufemia/src/components/autocomplete/Autocomplete.d.ts @@ -143,7 +143,7 @@ export interface AutocompleteProps mode?: AutocompleteMode; /** - * Give a title to let the user know what theyhaves to do. Defaults to `Skriv og få alternativer'` . + * Give a title to let the user know what they have to do. Defaults to `Skriv og få alternativer'` . */ title?: AutocompleteTitle;