FastUI
FastUI copied to clipboard
Build better UIs faster.
When the server returns 500, we seem to get a weird redirect back to `/`.
`fastui-bootstrap` should take functions matching `CustomRender` and `ClassNameGenerator` to those functions respectively, so you can use `fastui-bootstrap` while still overriding some components.
Currently it's a bit piecemeal based on what I needed for `fastui-bootstrap`, we should do something like bootstrap-react to export all components and their props in a nicely sorted way.
Waiting for https://github.com/pydantic/pydantic/pull/8282. Currently we have to declare every alias manually which is a pain and error prone. cc @sydney-runkle.
For lists and variable length tuples in forms we should have something roughly akin to [django's formsets](https://docs.djangoproject.com/en/4.2/topics/forms/formsets/) - basically a button to say "and another".
Other considerations for the [`Beyond Python and React`](https://github.com/pydantic/FastUI?tab=readme-ov-file#beyond-python-and-react) section of `README.md`... * https://github.com/pyscript * https://pyodide.org * https://htmx.org
https://pypi.org/project/codespell ```diff - "description": "Boostrap renderer for FastUI", + "description": "Bootstrap renderer for FastUI", ^ - // fireEventImpl is recursive, but it doens't make sense for fireEvent to have fireEventImpl...
Auto-generates pull requests like math-a3k/tradero#30 to keep GitHub Actions up to date which should remove warnings like at the bottom right of https://github.com/pydantic/FastUI/actions/runs/8003132720 * https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot * https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
after clicking on X to remove current filter from a form, the url does not redirect back to the base
https://fastui-demo.onrender.com/table/cities?country=BGD shouldnt move back to https://fastui-demo.onrender.com/table/cities after clicking on X ?
I'd love to be able to write something like this, so I'm working on a little framework that enables it. ```python @router.get( "/", response_model=Union[FastUI, List[Item]], response_model_exclude_none=True ) async def list_items(...