Skip to content

Commit 1dc61e5

Browse files
fix: Fixing accessibility label on Windows. (#441)
1 parent 80f6579 commit 1dc61e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/PickerWindows.windows.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ type PickerWindowsProps = $ReadOnly<{|
3535
testID?: string,
3636
onChange?: (event: IPickerChangeEvent) => void,
3737
onValueChange?: (value: any, itemIndex: number, text: string) => void,
38+
accessibilityLabel?: ?string,
3839
// Editable support
3940
editable?: boolean,
4041
text?: string,
@@ -92,6 +93,7 @@ class PickerWindows extends React.Component<
9293
selectedIndex: this.state.selectedIndex,
9394
testID: this.props.testID,
9495
style: [styles.pickerWindows, this.props.style, this.props.itemStyle],
96+
accessibilityLabel: this.props.accessibilityLabel
9597
};
9698

9799
return (

0 commit comments

Comments
 (0)