palantir/blueprint
GitHub で見るDisable/Not show remove button on Tag on specific elements - Multiselect
Open
#4,605 opened on 2021年3月24日
P2Package: selectType: feature requesthelp wanted
Repository metrics
- Stars
- (20,263 stars)
- PR merge metrics
- (平均マージ 43d 10h) (30d で 27 merged PRs)
説明
Environment
- Package version(s): 3.15.8
- Browser and OS versions: Chrome, Windows 10
Question
How do I disable/not show the remove icon on a specific tag in MultiSelect? I tried the "itemDisabled" prop but that doesnt work. In the below example, Shawshank Redemption should not be removed at all under any circumstances. Please advice.
This is my code:
https://codesandbox.io/s/magical-nash-q7c0g?file=/src/App.tsx