AnswerDotAI / fasthtml-example

Example fasthtml applications demonstrating a range of web programming techniques
Apache License 2.0
581 stars 82 forks source link

Fixed multiple typos in todo app examples #17

Closed cloudgiant closed 1 month ago

cloudgiant commented 1 month ago

Fixes a crash caused by a copy-pasted typo (CheckboxX -> Checkbox) at GET /edit/{id} route for todo app examples

cloudgiant commented 1 month ago

It seems this is present in READMEs, todos1 and todos2 folders as well. I will take care of these. :heavy_check_mark:

cloudgiant commented 1 month ago

@jph00 This seems to have been added in https://github.com/AnswerDotAI/fasthtml-example/commit/72d3807fdef68a77c7ff24e7b2506cbc07fb07f8. Please feel free to close this PR if this is not a typo (e.g. if you are planning on adding a custom component like A <> AX). I have used latest version from pip to test which doesn't have this class.

jph00 commented 1 month ago

The latest version in github has this class, and it was included in release v0.4.2 according to the changelog.

cloudgiant commented 1 month ago

The latest version in github has this class, and it was included in release v0.4.2 according to the changelog.

Yep, It seems my environments got mixed up and was using an older version still (0.2.1). Sorry for the noise :white_check_mark: