Skip to content

Commit e2be7fd

Browse files
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 <[email protected]>
1 parent 0ac3df3 commit e2be7fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/components/picker/picker-interface.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export interface PickerButton {
2727
export interface PickerColumn {
2828
name: string;
2929
align?: string;
30+
/**
31+
* Changing this value allows the initial value of a picker column to be set.
32+
*/
3033
selectedIndex?: number;
3134
prevSelected?: number;
3235
prefix?: string;

0 commit comments

Comments
 (0)