feat: implement checking for file types
This commit is contained in:
1 parent
53bdc96d01
commit
840be3f0e5
2 files changed
+62
-12
No files matched your search
@@ -34,7 +34,12 @@ pub fn StudentFinancialPage() -> impl IntoView {
|
||||
description="Please upload your FAFSA SAR (Student Aid Report) here."
|
||||
/>
|
||||
<Suspense fallback=Loading>
|
||||
<FileDrop name="fafsa" form_id="financial_info" existing_files=files_resource />
|
||||
<FileDrop
|
||||
name="fafsa"
|
||||
form_id="financial_info"
|
||||
existing_files=files_resource
|
||||
allowed_types=vec![".pdf".to_string()]
|
||||
/>
|
||||
</Suspense>
|
||||
// </ValidatedForm>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user