From 218638476e26c72e67376b1b8fa430219f63b4ad Mon Sep 17 00:00:00 2001 From: Marcelo JCS Date: Fri, 19 Jan 2024 10:39:35 -0300 Subject: [PATCH] fix(select): selected item is not showing for ios/ipados (#11214) ### Related Ticket(s) Closes https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10052 [Jira ticket](https://jsw.ibm.com/browse/ADCMS-4083) ### Description Fix for Labeles not appearing on Safari / IOS ### Changelog **Changed** - How labels on the select component are handled --- Opened to replace https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/11080 --- packages/carbon-web-components/src/components/select/select.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/carbon-web-components/src/components/select/select.ts b/packages/carbon-web-components/src/components/select/select.ts index c7087afe8a1..82db45ac932 100644 --- a/packages/carbon-web-components/src/components/select/select.ts +++ b/packages/carbon-web-components/src/components/select/select.ts @@ -19,6 +19,7 @@ import FormMixin from '../../globals/mixins/form'; import { filter } from '../../globals/internal/collection-helpers'; import { INPUT_SIZE } from '../text-input/text-input'; import styles from './select.scss'; +import ifNonEmpty from '../../globals/directives/if-non-empty'; import { carbonElement as customElement } from '../../globals/decorators/carbon-element'; /** @@ -113,7 +114,7 @@ class CDSSelect extends FormMixin(LitElement) {