SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js
https://adminjs.co
MIT License
8.06k stars 646 forks source link

[Feature]: Guard is not supported for basic types #1669

Open ksajan opened 1 month ago

ksajan commented 1 month ago

Description

I was trying to implement guard on custom hooks which should get trigger when the validation fails or some trigger is called.triggered

Suggested Solution

Implement the guard option for other action types apart form custom action, so it can be used for giving pops for some warning on other types of actions

Alternatives

No response

Additional Context

No response