fasthtml
fasthtml copied to clipboard
The fastest way to create an HTML app
**Describe the bug** FastHTML route handlers convert falsy values to empty strings when rendering responses. Specifically: - The integer `0` is converted to `''` (empty string) instead of `'0'` -...
**Important Notice** We do not provide support through GitHub issues. For community-based help, please use either: - GitHub Discussions tab - Our [Discord channel](https://discord.gg/qcXvcxMhdP) If you're reporting a bug, please...
The attributes `hx_replace_url` and `hx_indicator` are displayed twice in each component signature https://github.com/AnswerDotAI/fasthtml/blob/f0bde8c93854e01e364fbf7c3a062c0cd639664a/fasthtml/components.pyi#L75 Affected version: In current main branch
**Is your feature request related to a problem? Please describe.** I'm working on a project that merges the reusability of fasthtml components with the delightful development experience of [.qmd files](https://nbdev.fast.ai/tutorials/qmd_intro.html),...
--- name: Add method signatures to request methods about: Add method signatures to request methods title: 'Add method signatures to request methods' labels: '' assignees: 'iamliuzy' --- Copy of #756...
**Issue Type** - [X] Existing documentation (e.g. typos, errors, outdated information) - [ ] Suggest new documentation that is currently missing **Current Behavior or Documentation Gaps** In the Combining Routes...
On [the docs page](https://www.fastht.ml/docs/index.html) there's a `CommonMark` link, which I believe should yield a markdown version of the docs, but it links to the following NotFound url: `https://www.fastht.ml/docs/.md`
Hello there. In the page https://www.fastht.ml/docs/explains/faq.html , the link to fastai coding style is broken. The current link leads to https://www.fast.ai/docs/dev/style.html . It should instead point to: https://docs.fast.ai/dev/style.html HTH. Thanks!...
Hi my feature request has to do with how we interact with database tables Currently although they do implement CRUD I feel very limited in how I can manipulate data...
In the example (https://www.fastht.ml/docs/tutorials/by_example.html): class Person: def __init__(self, name, age): self.name = name self.age = age def __ft__(self): return ['div', [f'{self.name} is {self.age} years old.'], {}] p = Person('Jonathan', 28)...