From e2be7fdf3a85907ae83ddd900c1371896dfa7534 Mon Sep 17 00:00:00 2001 From: Damian Tarnawsky <84595830+dtarnawsky@users.noreply.github.com> Date: Tue, 22 Aug 2023 07:36:30 -0700 Subject: [PATCH] docs(picker): describe how to set the initial value of a picker column (#28034) ## What is the current behavior? There is no description of how to set the value of a picker. ## What is the new behavior? Readers can find this description in the documentation. ## Does this introduce a breaking change? - [ ] Yes - [x] No --------- Co-authored-by: Liam DeBeasi --- core/src/components/picker/picker-interface.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/components/picker/picker-interface.ts b/core/src/components/picker/picker-interface.ts index 4ddb18c326..6a01a8d437 100644 --- a/core/src/components/picker/picker-interface.ts +++ b/core/src/components/picker/picker-interface.ts @@ -27,6 +27,9 @@ export interface PickerButton { export interface PickerColumn { name: string; align?: string; + /** + * Changing this value allows the initial value of a picker column to be set. + */ selectedIndex?: number; prevSelected?: number; prefix?: string;