simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.18k stars 223 forks source link

Delete as default action #133

Closed ghost closed 7 years ago

ghost commented 7 years ago

Well, I'm trying to use express-admin for first time and I like it! but: Why is delete button considered as default action in forms? (when I hit enter > it remove record) and why is delete action without confirmation? Is there any settings for this?

simov commented 7 years ago

That would do it https://github.com/simov/express-admin/commit/b4f9f4e528dfe255dd10cfa024bcc05d5a003910

ghost commented 7 years ago

Thanks!

simov commented 7 years ago

I've published v1.3.2 with the fix :tada: