FastUI icon indicating copy to clipboard operation
FastUI copied to clipboard

Build better UIs faster.

Results 174 FastUI issues
Sort by recently updated
recently updated
newest added

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. ![Screenshot 2024-03-04 at 11 00 32](https://github.com/pydantic/FastUI/assets/86913668/1ca23bdd-65b6-4f27-8c7d-6da31929e208) 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) ![image](https://github.com/pydantic/FastUI/assets/86913668/e6c0aa16-9a5c-41a0-976f-29ce81590c27)

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....