osstotalsoft / rocket-ui-ts

A collection of reusable and composable React components written in TypeScript built on top of Material UI Core V5
MIT License
19 stars 4 forks source link

Greying out Autocomplete value when it is not among options #82

Open st-angelo opened 1 year ago

st-angelo commented 1 year ago

Latest version

Description

In Autocomplete, a value object can be passed that is not among options. The Autocomplete displays it the same way it displays any value chosen from options.

We would like the value to be greyed out if it's not among options, to highlight the fact that it won't be found when browsing options. If not as default behavior, at least behind a flag.