feat(dashboard): Allow setting a tooltip for disabled action items (#10234)

**What**
- Allow passing a `disabledTooltip` for actions in a `ActionMenu`. Useful for providing context for the user why a option is disabled. E.g. `{ disabled: sales_channel.is_default, disabledTooltip: "Deleting the default Sales Channel is not allowed. Please assign a different default Sales Channel for your store". }`
This commit is contained in:
Kasper Fabricius Kristensen
2024-11-25 13:01:26 +00:00
committed by GitHub
parent 1bd82a9b13
commit 3ab056e572
2 changed files with 42 additions and 19 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/dashboard": patch
---
feat(dashboard): Allow setting a tooltip for disabled action items