FastUI
FastUI copied to clipboard
Build better UIs faster.
Issue Description: I'm exploring FastUI in combination with FastAPI and encountered a couple of issues that I would like some clarification on: Accessing the Root Path (/) Without Explicit Definition:...
``` class FilterForm(pydantic.BaseModel): city: str | None = Field(json_schema_extra={'search_url': '/api/forms/search', 'placeholder': 'Filter by City...'}) country: str | None = Field(json_schema_extra={'search_url': '/api/forms/search', 'placeholder': 'Filter by Country...'}) @router.get('/cities', response_model=FastUI, response_model_exclude_none=True) def cities_view(page:...
This is just a proposal, I can make the PR and help in contributing. I think the doc generation is quite useful, and endpoint can be still reused by other...
I noticed when using an optional `FormFieldSelect`, the default description and placeholder would override the ones I passed to the `json_schema_extra`. Fixed using a similar strategy to what we already...
To reproduce this issue, just change the ToolEnum to Literal of ToolEnum.hammer in demo source code.  Error trace ``` File "/Users/manimozaffar/Desktop/fastui/src/python-fastui/fastui/json_schema.py", line 157, in...
Would be nice if we can have select on table, to perform action as well. Maybe added as a new table in demo? An example (from django's admin interface) 
Imagine my form is: ```python class Form(BaseModel): email: EmailStr | int ``` I know it doesn't make sense to have that union, but this is to just replicate the issue....