jan-vandenberg / cruddiy

No-code Bootstrap PHP CRUD generator
http://cruddiy.com
GNU Affero General Public License v3.0
252 stars 80 forks source link

Question: Choose from list/dropdown when adding a new record #137

Closed michielsebastiaan closed 3 months ago

michielsebastiaan commented 4 months ago

Hello,

Just recently found this awesome lifesaver. I have a small question.

I have created a MySQL database and set op some tables. One or more tables have fields with the "SET" Type. Assuming this would give me a dropdown list when adding a new record. How would I achieve this?

image

Thanks in advance, Michiel

germain-italic commented 3 months ago

Hi Michiel, ENUM is supported in Cruddiy

Could you try by changing your datatype to ENUM instead of SET? This should achieve the same result.

michielsebastiaan commented 3 months ago

Thank you for the swift answer. Yes, it works now. Like a charm. Case solved