dcx-react-library icon indicating copy to clipboard operation
dcx-react-library copied to clipboard

Autocomplete - Add option to show all values

Open dchatzinaki opened this issue 3 years ago • 0 comments

In the autocomplete component we need to provide the ability to show all the values when the user clicks the input. We'll create an extra optional attribute called showAllValues by default set to false and the user can change to true. This is similar to a default dropdown, so the autocomplete is rendered with a dropdown arrow to convey this behaviour.

showAllValues?: boolean

For a working example please refer to the following component and demo

Please remember to provide an example in storybook Please remember to provide an example in the example folder

Please create your branch from release/0.6

git checkout release/0.6
git pull
git checkout -b 'feature/autocomplete-showAll'

dchatzinaki avatar Jun 22 '22 11:06 dchatzinaki