forge icon indicating copy to clipboard operation
forge copied to clipboard

[docs] improve autocomplete docs for filter callback second parameter

Open DRiFTy17 opened this issue 1 year ago • 0 comments

The current docs for the autocomplete in Storybook do not properly convey the filter callback usage around the second value parameter. We need to make this more clear and obvious for our consumers.

The value parameter is passed by the autocomplete when it doesn't have an option loaded that matches the value currently set, so it will "ask" the developer via the filter callback using this parameter so that they can go fetch that single option label to display.

DRiFTy17 avatar Aug 24 '23 12:08 DRiFTy17