This example is inspired by PyWebIO documentation. It is the first example in the documentation so I thought it would be a good idea to use it as a starting point for forms in FastUI.
Used Components:
PageTitle
Page
Heading
Paragraph
ModelForm
git clone https://github.com/hasansezertasan/fastui-tutorials.git
cd fastui-tutorials
cd examples/simple-form
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install -r 'requirements.txt'
uvicorn main:app