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

This PR allows FastUI components to be used as the values of DataModel's passed into Table and Details components. This means that one can have a column in a table...

Why did this framework is working only with internet? I mean, it is not in local network without internet...

Fixes https://github.com/pydantic/FastUI/issues/186 This PR also adds computed fields to the `Table` and `Details` fields

Maybe it's just me, but I think it would be nice if FastUI also had a slightly higher level of abstraction that encapsulates FastAPI, for cases where one does not...

I'm going to write tests with playwright, but before doing that, I found repo a bit messy. ~~So I used PDM as [it's conventional tool in pydantic team](https://docs.pydantic.dev/latest/contributing/#prerequisites)~~ Samuel asked...

Allows components to be used in a table. See demo/tables.py. Resolves #293

```python class UpdateForm(BaseModel): is_foo: bool ``` Renders to a required checkbox, so it always has to be "true" on submission! ![Screenshot 2024-04-19 at 11 18 30](https://github.com/pydantic/FastUI/assets/86913668/781a4f55-4c4d-4163-b5f8-aa104deeee8c) workaround for now is...

bug

This is code: ```python class SomeFilter(BaseModel): is_foo: bool | None = Field(default=None, json_schema_extra={"placeholder": "Filter by Foo..."}) ``` What I actually want is this: ![Screenshot 2024-04-19 at 11 01 40](https://github.com/pydantic/FastUI/assets/86913668/83636a39-4286-40dd-ab40-789c8a10966c) but...

enhancement

The generated `models.d.ts` is present in the `src` directory of the NPM package, but not in the `dist` directory. The result is that ``` import { models } from "@pydantic/fastui";...

bug