From 8c2440ad8badc87ad01231d173e47c95769c53a2 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Mon, 25 Dec 2023 13:15:20 +0800 Subject: [PATCH] fix(web): password field --- web/src/components/MachineList.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/src/components/MachineList.tsx b/web/src/components/MachineList.tsx index cb396be..cc1797c 100644 --- a/web/src/components/MachineList.tsx +++ b/web/src/components/MachineList.tsx @@ -194,6 +194,13 @@ export const columns: ColumnDef[] = [ description="Edit machines" serverAction={updateMachine} formSchema={addMachineSchema} + fieldConfig={{ + auth_token: { + inputProps: { + type: "password", + }, + }, + }} /> );