Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum field type? #5

Open
webdevian opened this issue Dec 12, 2017 · 3 comments
Open

Enum field type? #5

webdevian opened this issue Dec 12, 2017 · 3 comments

Comments

@webdevian
Copy link

webdevian commented Dec 12, 2017

This would be a really nice feature, for defining enumerated fields and the possible values

@Agontuk
Copy link
Owner

Agontuk commented Dec 13, 2017

This can be done just like the float/decimal field, by using comma separated list of enum values, but I also have to implement it on the laravel package. My current laptop is not yet setup for php development, I'll try after setting it up.

@webdevian
Copy link
Author

Cool. BTW your laravel package inspired me to make https://github.com/APCOvernight/adonis-schema-builder using the same json schema output

@Agontuk
Copy link
Owner

Agontuk commented Dec 13, 2017

Nice, always happy to see people using my packages :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants