cruddiy
cruddiy copied to clipboard
Feature request: enum dropdowns, hint text for columns, better debug
Hi!
I'd like to request a few things:
- Automatically generate enum dropdown based on column definitions
- Input maxlength based on column sizes
- Add hint text for columns
- Show datatype for columns, maybe allow some loose validation in the form
- Wrap updates in transactions, and rollback/display verbose error if an issue occurs.
- Maybe a little deduplication for the database logic?
I spent money on some really complex PHP Crud thingy and then I found this simple beauty after the thing that I bought started acting up :) It looks very modifiable and I'm very happy to have found it. Wish I'd found it earlier!
Good ideas!
So far I added
- Automatically generate enum dropdown based on column definitions https://github.com/jan-vandenberg/cruddiy/commit/a6f2af5d97597f3ee6d720cf795322f3af5bb658
- Input maxlength based on column sizes https://github.com/jan-vandenberg/cruddiy/commit/f658b4afe79b66be5c83fab418fe033bc83119d4
I am not sure if I get around to the other requests, also what would "hint text for columns" look like?
Hint text for columns would be like "This is what this column does". It would be separate from the display name of the column and let you explain what it's used for to the end user.
Hint text for columns would be like "This is what this column does". It would be separate from the display name of the column and let you explain what it's used for to the end user.
You mean as in a placeholder field for HTML? or as in a hover style popup with more information?
Add hint text for columns Show datatype for columns, maybe allow some loose validation in the form
@sudofox PR under review: https://github.com/jan-vandenberg/cruddiy/pull/19
This worked for me the first time and stoped working later
Tell me what to do
From now on, you've the datatypes: