You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking the Delete button on a plugin card inside a form (Routes, Services, Plugin Configs, etc.) immediately removes the plugin with no confirmation. There is no way to undo this — the user must re-add and re-configure the plugin from scratch.
A confirmation dialog should appear before deleting, consistent with how top-level resources are deleted (DeleteResourceBtn uses modals.openConfirmModal).
How to Reproduce
Go to Plugin Configs → Add Plugin Config
Add any plugin (e.g. response-rewrite) and configure it
Click Delete on the plugin card
Plugin is deleted instantly — no confirmation dialog
Issue description
Clicking the Delete button on a plugin card inside a form (Routes, Services, Plugin Configs, etc.) immediately removes the plugin with no confirmation. There is no way to undo this — the user must re-add and re-configure the plugin from scratch.
Current behavior
onDelete?.(name)is called directly inonClickwith no guard:https://github.com/apache/apisix-dashboard/blob/master/src/components/form-slice/FormItemPlugins/PluginCard.tsx#L81
Expected behavior
A confirmation dialog should appear before deleting, consistent with how top-level resources are deleted (
DeleteResourceBtnusesmodals.openConfirmModal).How to Reproduce
response-rewrite) and configure itScreenshots
Apache.APISIX.Dashboard.-.Personal.-.Microsoft.Edge.2026-03-21.04-30-07.mp4
Environment
Additional context
No response