feat: optimize imports to remove warnings
This commit is contained in:
1 parent
9c7b7f1d4f
commit
a2f69a83c2
16 files changed
+46
-109
No files matched your search
@@ -7,7 +7,6 @@ pub struct ListController {
|
||||
pub error: Signal<ValidationState>,
|
||||
pub dirty: RwSignal<bool>,
|
||||
pub show_errors: Signal<bool>,
|
||||
pub validator: RwSignal<InputState>,
|
||||
pub selected_list: RwSignal<Vec<String>>,
|
||||
}
|
||||
|
||||
@@ -87,7 +86,6 @@ pub fn use_selectable_list(
|
||||
error,
|
||||
dirty,
|
||||
show_errors,
|
||||
validator,
|
||||
selected_list,
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,6 @@ fn validate(required: bool, value: String) -> ValidationState {
|
||||
#[component]
|
||||
pub fn Select(
|
||||
#[prop()] value_list: Vec<String>,
|
||||
#[prop(optional)] value: RwSignal<String>,
|
||||
#[prop(into)] data_member: Signal<String>,
|
||||
#[prop()] data_map: RwSignal<HashMap<String, ValueType>>,
|
||||
#[prop(optional, into)] label: String,
|
||||
|
||||
Reference in new issue
Block a user