File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1313
1414intro_form_error_message = ClientStateVar .create ("intro_form_error_message" , "" )
1515intro_form_open_cs = ClientStateVar .create ("intro_form_open" , False )
16+ is_submitting_intro_form_cs = ClientStateVar .create ("is_submitting_intro_form" , False )
1617
1718PERSONAL_EMAIL_PROVIDERS = r"^(?!.*@(gmail|outlook|hotmail|yahoo|icloud|aol|protonmail|mail|yandex|zoho|live|msn|me|mac|googlemail)\.com$|.*@(yahoo|outlook|hotmail)\.co\.uk$|.*@yahoo\.ca$|.*@yahoo\.co\.in$|.*@proton\.me$).*$"
1819
@@ -331,6 +332,7 @@ def intro_form(
331332 "Submit" ,
332333 type = "submit" ,
333334 class_name = "w-full" ,
335+ loading = is_submitting_intro_form_cs .value ,
334336 ),
335337 class_name = ui .cn (
336338 "@container flex flex-col lg:gap-6 gap-2 p-6" ,
You can’t perform that action at this time.
0 commit comments