codyswanner / Meme-Cataloger

Learning ReactJS and Django while building something that I want to use
1 stars 1 forks source link

Use "filterSelectedOptions" prop in Tag Autocomplete #78

Closed codyswanner closed 2 months ago

codyswanner commented 3 months ago

MUI Autocomplete has a prop "filterSelectedOptions" that hides selected options in list of available options. This is helpful in more than one way, including preventing double-selection by the user and making it easier to see which options are still available. A potential pitfall of this is an image with so many tags that it becomes faster to search the tag in the Autocomplete than to find it manually and click on it to remove it -- but this seems like a pretty rare case. If this case arises, this can be reconsidered and made into a setting/option for that use case.

codyswanner commented 2 months ago

I don't like this functionality. You will always be able to search for a tag that you want to apply, and the Autocomplete component does a good job of highlighting selected options in a way that makes it clear they are selected. Closing this issue without implementation.