Release preparation for forms #55

Merged
BobdaFett merged 8 commits from ci/remove-debug-info into main 2026-01-17 04:18:48 +00:00
3 changed files with 7 additions and 19 deletions
Showing only changes of commit b17c462abb - Show all commits

No files matched your search

+5 -1
View File
@@ -149,7 +149,11 @@ pub fn ValidatedForm(
};
view! {
<form novalidate on:submit=submit_success_event>
<form
class="flex flex-col gap-2"
novalidate
on:submit=submit_success_event
>
<Header
title=title
description=description
-11
View File
@@ -214,17 +214,6 @@ pub fn ProviderContactPage() -> impl IntoView {
required=true
/>
</Row>
<Row>
<OutlinedTextField
label="Testing Number"
placeholder="Just put a number"
disabled=elements_disabled
data_member="testing_number"
data_map=contact_info
input_type=TextFieldType::Number
required=true
/>
</Row>
}
})
}}
+2 -7
View File
@@ -9,7 +9,7 @@ use crate::common::{ExpandableInfo, ScholarshipFormParams, SubmitStatus, ValueTy
use crate::components::{ActionButton, Banner, ChipsList, Loading, OutlinedTextField, Panel, RadioList, Row, TextFieldType, Toast, ToastContext, ToastList, ValidatedForm};
use super::UnauthenticatedPage;
use crate::utils::get_user_claims;
use super::api::{get_provider_scholarships, get_scholarship_info, CreateScholarshipInfo, RegisterScholarship, DeleteProviderScholarship, get_comparisons_categorized, CreateTestComparisons};
use super::api::{get_provider_scholarships, get_scholarship_info, CreateScholarshipInfo, RegisterScholarship, DeleteProviderScholarship, get_comparisons_categorized};
/// # Scholarship Info Page
@@ -298,7 +298,7 @@ fn ScholarshipListEntry(
let name = scholarship.data.get("name")
.unwrap_or(&ValueType::String(None))
.as_string().unwrap_or_default()
.unwrap_or("<no name found>".to_string());
.unwrap_or("Unnamed Scholarship".to_string());
// Button click handlers
let edit_click = {
@@ -519,8 +519,6 @@ fn ScholarshipForm(
//#endregion
let create_comps = ServerAction::<CreateTestComparisons>::new();
view! {
<Panel>
<Show
@@ -695,9 +693,6 @@ fn ScholarshipForm(
.collect_view()
}}
</ValidatedForm>
<ActionButton on:click=move |_| {
create_comps.dispatch(CreateTestComparisons {});
}>"Create Comparisons"</ActionButton>
</Suspense>
</Show>
</Panel>