I have a number of statuses from which a user can select only one status. I tried this new control which is sort of an alternative to radio to buttons where user can select their desired status by just clicking on the pill and the rest will deselect themselves.
Now according to our business requirement, it is not necessary for the user to specify the status. They can leave this filter blank as well because their are a lot of other filters which can be used as well.
For that I want to provide an option of deselecting a pill. The options that I have:
- Click on the selected pill to deselect it
- Provide a deselect button at the end in order to deselect your choice
Which one will serve the purpose? I'm also open to new solutions.
Here is the gif for the status filter area