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

Bug: Filter on Enum field does not constrain values #515

Open
sglebs opened this issue Feb 29, 2024 · 0 comments
Open

Bug: Filter on Enum field does not constrain values #515

sglebs opened this issue Feb 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sglebs
Copy link

sglebs commented Feb 29, 2024

Describe the bug

An enum field should only allow me to set it to one of the enum possible values. But the UI is "free text"

image

To Reproduce

Just add an enum field to your model, with 4 pre-defined values, and try to use a filter in the UI.

Environment (please complete the following information):

  • Starlette-Admin version: 0.13.1
  • ORM/ODMs: SQLAlchemy, psycopg2-binary==2.9.9
  • SQLAlchemy-serializer==1.4.1

Additional context

None

@sglebs sglebs added the bug Something isn't working label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant