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

tuples in forms #24

Closed
samuelcolvin opened this issue Dec 1, 2023 · 0 comments · Fixed by #52
Closed

tuples in forms #24

samuelcolvin opened this issue Dec 1, 2023 · 0 comments · Fixed by #52
Labels
enhancement New feature or request

Comments

@samuelcolvin
Copy link
Member

E.g. for the case of

class MyModel(BaseModel):
    size: tuple[int, int, int]

For fixed length tuples in forms, we should flatten the fields into top level inputs, like we do with nested models.

@samuelcolvin samuelcolvin added the enhancement New feature or request label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant