File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def form_generator(state: State):
118118 class TestForm (FormPage ):
119119 model_config = ConfigDict (title = "Form Title" )
120120
121- number : NumberExample = 1
121+ number : NumberExample = 3
122122 text : Annotated [str , Field (min_length = 3 , max_length = 12 )] = "Default text"
123123 textArea : LongText = "Default text area"
124124 divider : Divider
@@ -129,7 +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 ) = "1"
132+ # When there are <= 5 choices in a list a set of checkboxes are rendered
133+ multicheckbox : choice_list (MultiCheckBoxChoices ) = ["1" , "2" ]
133134 list : choice_list (ListChoices ) = [0 , 1 ]
134135
135136 form_data_1 = yield TestForm
You can’t perform that action at this time.
0 commit comments