From eff95066b66dfca2bff3c9a8d395c347be0a538a Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Mon, 9 Feb 2026 13:26:32 -0800 Subject: [PATCH 1/2] feat(select): add wrapper and bottom shadow parts --- core/src/components/select/select.tsx | 13 +++-- .../select/test/custom/select.e2e.ts | 51 +++++++++++++++++++ 2 files changed, 61 insertions(+), 3 deletions(-) diff --git a/core/src/components/select/select.tsx b/core/src/components/select/select.tsx index 97309bac332..c33d6131616 100644 --- a/core/src/components/select/select.tsx +++ b/core/src/components/select/select.tsx @@ -45,6 +45,9 @@ import type { SelectChangeEventDetail, SelectInterface, SelectCompareFn } from ' * @part supporting-text - Supporting text displayed beneath the select. * @part helper-text - Supporting text displayed beneath the select when the select is valid. * @part error-text - Supporting text displayed beneath the select when the select is invalid and touched. + * @part bottom - The container element for helper text, error text, and counter. + * @part wrapper - The clickable label element that wraps the entire form field (label text, slots, selected values or placeholder, and toggle icons). + * @part wrapper-inner - The inner element of the wrapper that does not include the label text. */ @Component({ tag: 'ion-select', @@ -1173,7 +1176,11 @@ export class Select implements ComponentInterface { return; } - return
{this.renderHintText()}
; + return ( +
+ {this.renderHintText()} +
+ ); } render() { @@ -1246,9 +1253,9 @@ export class Select implements ComponentInterface { [`select-label-placement-${labelPlacement}`]: true, })} > -