Can edit more network settings

This commit is contained in:
2023-12-06 15:30:30 +01:00
parent 7bf4e87df1
commit b7d44f3091
17 changed files with 384 additions and 77 deletions

View File

@ -34,7 +34,7 @@ export function TextInput(p: {
return (
<TextField
label={p.label}
value={p.value}
value={p.value ?? ""}
onChange={(e) =>
p.onValueChange?.(
e.target.value.length === 0 ? undefined : e.target.value
@ -47,7 +47,7 @@ export function TextInput(p: {
readOnly: !p.editable,
type: p.type,
}}
variant={p.editable ? "standard" : "standard"}
variant={"standard"}
style={{ width: "100%", marginBottom: "15px" }}
multiline={p.multiline}
minRows={p.minRows}