design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Update Combobox Lookup Examples to use pre-defined examples only

Open kwilloughby-sf opened this issue 6 years ago • 2 comments

  • Since the vast majority of uses cases for Lookups are to search pre-defined options default all the examples to be pre-defined by default. It's okay to allow custom entries but we should not show it in the examples. I have never seen a situation where custom entries are permitted but it is something SLDS does allow.

  • Update Base-Pre-defined Options Only (http://design-system-react-components.herokuapp.com/?path=/story/sldscombobox--base-pre-defined-options-only): Per SLDS "The up and Down arrows should not update the input value to reflect the currently selected option. The input value should only be updated upon selection." The user should always be able to type in the input and it should never become locked.

kwilloughby-sf avatar Oct 04 '19 16:10 kwilloughby-sf

I found an instance where custom entries are permitted in Tasks (Subject). In that instance, the Listbox just disappears if nothing matches. I still feel like the majority of use cases are to search pre-defined options though.

kwilloughby-sf avatar Oct 04 '19 20:10 kwilloughby-sf

This UX pattern is doable today, but we should update the examples to show the standard SLDS pattern for the Lookup pattern.

Tasks example is an autocomplete text field only and not object/entity selection.

interactivellama avatar Oct 07 '19 16:10 interactivellama