sohelamin / crud-generator

Laravel CRUD Generator
https://packagist.org/packages/appzcoder/crud-generator
MIT License
1.41k stars 426 forks source link

Enum field in json throw error while creating crud #223

Closed starkdigitalmediaservices closed 6 years ago

starkdigitalmediaservices commented 6 years ago

This code builder is awesome. However, there is a small bug which not allowing me to use Crud builder for my project.

I'm not able to generate crud If I try to use enum filed in my Json file . It shows error "Undefined index: options"

example of My enum filed Json. { "name": "check_status", "type": "enum", "options": { "M": "male", "F": "female" } } I'd appricate if I get any help .