feat: update checkbox component to use open-ended structures
Commit also includes changes to other components that make unused props optional.
This commit is contained in:
1 parent
b460c3b3fd
commit
059f904f5d
7 files changed
+80
-40
No files matched your search
@@ -1,3 +1,4 @@
|
||||
use std::collections::HashMap;
|
||||
use crate::app::Unauthenticated;
|
||||
use crate::common::UserClaims;
|
||||
use crate::components::{Loading, MultiEntry, MultiEntryData, MultiEntryMember, OutlinedTextField, ValueType};
|
||||
@@ -24,11 +25,13 @@ pub fn ProviderEntry() -> impl IntoView {
|
||||
<h1>This is the provider entry page</h1>
|
||||
<h2>It would usually have a series of questions that we ask the providers</h2>
|
||||
<div>
|
||||
// Much of this is just a placeholder.
|
||||
<OutlinedTextField
|
||||
placeholder = "Testing information..."
|
||||
name = "testing_input"
|
||||
label = "This is a testing question."
|
||||
data_member = "testing"
|
||||
data_map = RwSignal::new(HashMap::new())
|
||||
value = RwSignal::new(ValueType::String(None))
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user