Skip to content

Commit 68af3ee

Browse files
1682 Fixes form variable names
1 parent 827bd71 commit 68af3ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,14 @@ def form_generator(state: State):
129129
class TestForm0(FormPage):
130130
model_config = ConfigDict(title="Form Title Page 0")
131131

132-
text0: Annotated[int, Ge(18), Le(99)] = 17
132+
number0: Annotated[int, Ge(18), Le(99)] = 17
133133

134134
form_data_0 = yield TestForm0
135135

136136
class TestForm1(FormPage):
137137
model_config = ConfigDict(title="Form Title Page 1")
138138

139-
text1: Annotated[int, Ge(18), Le(99)] = 17
139+
number1: Annotated[int, Ge(18), Le(99)] = 17
140140

141141
form_data_1 = yield TestForm1
142142

0 commit comments

Comments
 (0)