File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,9 @@ def form_generator(state: State):
118118 class TestForm (FormPage ):
119119 model_config = ConfigDict (title = "Form Title" )
120120
121- number : NumberExample
121+ number : NumberExample = 1
122122 text : Annotated [str , Field (min_length = 3 , max_length = 12 )] = "Default text"
123- textArea : LongText
123+ textArea : LongText = "Default text area"
124124 divider : Divider
125125 label : Label = "Label"
126126 hidden : Hidden = "Hidden"
@@ -129,8 +129,8 @@ class TestForm(FormPage):
129129 # When there are <= 3 choices a radio group will be rendered
130130 radio : RadioChoices = "3"
131131 checkbox : bool = True
132- multicheckbox : choice_list (MultiCheckBoxChoices )
133- list : choice_list (ListChoices ) = "0"
132+ multicheckbox : choice_list (MultiCheckBoxChoices ) = "1"
133+ list : choice_list (ListChoices ) = [ 0 , 1 ]
134134
135135 form_data_1 = yield TestForm
136136
You can’t perform that action at this time.
0 commit comments