Implement error handling #41

Merged
BobdaFett merged 15 commits from feat/error-handling into main 2026-01-06 19:06:07 +00:00
9 changed files with 22 additions and 10 deletions
Showing only changes of commit f08fee1246 - Show all commits

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
mod multi;
mod single;
pub use {
multi::*, single::*
};
@@ -2,8 +2,8 @@ use crate::common::ValueType;
use crate::components::utils::create_unique_id;
use leptos::prelude::*;
use std::collections::HashMap;
use super::utils::use_selectable_list;
use crate::components::ValidationState;
use crate::components::lists::use_selectable_list;
/// # Checkbox Component
/// This component should only be used from within a [`CheckboxList`] component.
@@ -81,8 +81,6 @@ pub fn Checkbox(
}
}
/// # Checkbox List Component
/// This component creates a list of checkboxes, each with a specific value. The values are passed
/// through a prop rather than manually creating children.
@@ -3,7 +3,7 @@ use crate::components::utils::create_unique_id;
use leptos::prelude::*;
use std::collections::HashMap;
use crate::components::ValidationState;
use crate::components::lists::use_selectable_list;
use super::utils::use_selectable_list;
/// # Chip Component
///
+6
View File
@@ -0,0 +1,6 @@
mod utils;
mod checkbox;
mod chips;
pub use checkbox::*;
pub use chips::*;
File renamed without changes.
+5
View File
@@ -0,0 +1,5 @@
pub mod radio;
pub mod select;
pub use radio::*;
pub use select::*;
File renamed without changes.
File renamed without changes.
+3 -6
View File
@@ -1,20 +1,17 @@
mod action_button;
mod banner;
mod checkbox;
mod chips;
mod dashboard_button;
mod loading;
mod multi_entry;
mod panel;
mod radio;
mod row;
mod select;
mod text_field;
mod utils;
mod validated_form;
mod lists;
pub use self::{
action_button::*, banner::*, checkbox::*, chips::*, dashboard_button::*, loading::*,
multi_entry::*, panel::*, radio::*, row::*, select::*, text_field::*, validated_form::*
action_button::*, banner::*, dashboard_button::*, lists::*,
loading::*, multi_entry::*, panel::*, row::*, text_field::*,
validated_form::*
};