30 May 2024
09:54 PM
- last edited on
03 Jun 2024
06:58 AM
by
MaciejNeumann
In SelectV2 component for multiple selection, is it possible to hide the "Select All" option?
Solved! Go to Solution.
31 May 2024 01:20 PM
You can use the clearable={false} on SelectV2 that will hide the Select All option as shown below:
<SelectV2 multiple defaultValue={['austria']} clearable={false}>
<SelectV2.Content>
<SelectV2.Option value="austria">Austria</SelectV2.Option>
<SelectV2.Option value="germany">Germany</SelectV2.Option>
<SelectV2.Option value="italy">Italy</SelectV2.Option>
<SelectV2.Option value="spain">Spain</SelectV2.Option>
</SelectV2.Content>
</SelectV2>
Thanks