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

Hindra negativa "Attendant limit" vid skapandet av händelse i närvarosystemet #61

Open
wind1s opened this issue Oct 7, 2024 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@wind1s
Copy link
Member

wind1s commented Oct 7, 2024

När man skapar en händelse i närvarosystemet så är det möjligt att välja negativa värden. Vet inte hur backend tar emot det men det borde inte ens vara möjligt. Image

@wind1s wind1s converted this from a draft issue Oct 7, 2024
@wind1s wind1s added bug Something isn't working good first issue Good for newcomers labels Oct 7, 2024
@Olle-Mineur
Copy link
Member

Klassiskt Autoform-moment.

attendant_limit är en vanlig integer. Borde vara PositiveInteger eller en PositiveSmallInteger. Då kommer Autoform få 0 som min_value.

Image

@Olle-Mineur
Copy link
Member

Skapade en branch i backend för att fixa det här. Ska testa lite först.

Länk till branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Backlog
Development

No branches or pull requests

2 participants