FastUI
FastUI copied to clipboard
Build better UIs faster.
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...
Fixed #250
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!  workaround for now is...
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:  but...
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";...