Skip to content

Form inputs #71

Description

@TomFaulkner

One of my frustrations with using FastAPI with HTMX is the form bodies having to be listed as individual type-hinted arguments. (https://fastapi.tiangolo.com/tutorial/request-forms/#import-form)

I don't see anything in the readme that says there is an alternative provided in this library. Is that something within the scope?

FastHTML (https://fastht.ml/) thankfully takes a Pydantic model or a Dataclass as a form body. But it's still in its very early stages.

Is that something you are interested in adding?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions