UI: fix interface breakages on some components. Features will be migrated later
This commit is contained in:
@@ -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 ?? ""}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -613,7 +613,8 @@ function WifiModule(props: MachineWifiProps) {
|
||||
label="Password"
|
||||
value={field.value ?? ""}
|
||||
error={field.error}
|
||||
type="password"
|
||||
// todo
|
||||
// type="password"
|
||||
required
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user