Skip to content

Commit

Permalink
Update 05-watchers.md
Browse files Browse the repository at this point in the history
Updated the new changes as per 05-watchers changes based on pull request kkinder/puepy#47
  • Loading branch information
kishankarun authored Aug 15, 2024
1 parent 75eb72c commit 7f73102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/05-watchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class WatcherPage(Page):
t.h1("Can you guess a number between 1 and 10?")

with t.div(style="margin: 1em"):
t.input(bind="number", placeholder="Enter a guess", autocomplete="off", type="number", maxlength=1)
t.input(bind="number", placeholder="Guess", autocomplete="off", type="number", maxlength=1, min=1, max=10)

if self.state["message"]:
t.p(self.state["message"])
Expand Down

0 comments on commit 7f73102

Please sign in to comment.