Skip to content

Commit e4ea8e1

Browse files
DutchBentjeerddie
andauthored
Update backend/main.py
Co-authored-by: tjeerddie <tjeerdverschragen@hotmail.com>
1 parent 0bc30f5 commit e4ea8e1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

backend/main.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,10 @@ class TestForm(FormPage):
100100
divider: Divider
101101
label: Label = "Label"
102102
hidden: Hidden = "Hidden"
103-
dropdown: DropdownChoices = (
104-
"2" # When there are > 3 choices a dropdown will be rendered
105-
)
106-
radio: RadioChoices = (
107-
"3" # When there are <= 3 choices a radio group will be rendered
108-
)
103+
# When there are > 3 choices a dropdown will be rendered
104+
dropdown: DropdownChoices = ("2")
105+
# When there are <= 3 choices a radio group will be rendered
106+
radio: RadioChoices = ("3")
109107

110108
form_data_1 = yield TestForm
111109

0 commit comments

Comments
 (0)