From 7f73102851902f1757f6b00b10646ef7e61f62a6 Mon Sep 17 00:00:00 2001 From: Kishan K <323202+kishankarun@users.noreply.github.com> Date: Thu, 15 Aug 2024 23:26:58 +0530 Subject: [PATCH] Update 05-watchers.md Updated the new changes as per 05-watchers changes based on pull request https://github.com/kkinder/puepy/pull/47 --- docs/tutorial/05-watchers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/05-watchers.md b/docs/tutorial/05-watchers.md index 982f09e..4c157e9 100644 --- a/docs/tutorial/05-watchers.md +++ b/docs/tutorial/05-watchers.md @@ -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"])