UI: fix interface breakages on some components. Features will be migrated later

This commit is contained in:
Johannes Kirschbauer
2024-12-20 20:14:42 +01:00
parent 450408b6cb
commit f747003893
5 changed files with 19 additions and 18 deletions

View File

@@ -159,12 +159,12 @@ export const CreateClan = () => {
<div class="collapse-title link font-medium ">Advanced</div>
<div class="collapse-content">
<TextInput
adornment={{
content: (
<span class="-mr-1 text-neutral-500">clan-core #</span>
),
position: "start",
}}
// adornment={{
// content: (
// <span class="-mr-1 text-neutral-500">clan-core #</span>
// ),
// position: "start",
// }}
inputProps={props}
label="Template to use"
value={field.value ?? ""}

View File

@@ -217,12 +217,12 @@ const AdminModuleForm = (props: AdminModuleFormProps) => {
<TextInput
inputProps={props}
label={"Name"}
adornment={{
position: "start",
content: (
<span class="material-icons text-gray-400">key</span>
),
}}
// adornment={{
// position: "start",
// content: (
// <span class="material-icons text-gray-400">key</span>
// ),
// }}
value={field.value ?? ""}
error={field.error}
class="col-span-4"

View File

@@ -613,7 +613,8 @@ function WifiModule(props: MachineWifiProps) {
label="Password"
value={field.value ?? ""}
error={field.error}
type="password"
// todo
// type="password"
required
/>
)}