fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Picker: Show all available options without text input

Open nipunja opened this issue 9 years ago • 2 comments

Picker control (https://fabricreact.azurewebsites.net/fabric-react/master/#/examples/pickers) does not have a way to see all the picker items. It only shows suggestions based on user text input. However, in some of the scenarios, user might not even know what to type. This will be the default case when picker items are filled dynamically by some webservice call. It would be good to show all the pickers items may be on Enter or some other equivalent experience.

nipunja avatar Feb 15 '17 11:02 nipunja

Is there any closure over here ? This ask basically prevents the usage of picker control if list is populated dynamically.

nipunja avatar Mar 02 '17 07:03 nipunja

@nipunja, the onEmptyInputFocus prop of pickers can be used to accomplish this. See the peoplePicker (https://developer.microsoft.com/en-us/fabric#/components/peoplepicker) for an example of this being done.

kristoferbrown avatar Jan 18 '18 00:01 kristoferbrown