apply widget for credential fields

This commit is contained in:
Josh Hawkins 2026-05-20 11:33:34 -05:00
parent 35a4e86a39
commit efea355f75
4 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,7 @@ const genai: SectionConfigOverrides = {
"ui:widget": "genaiRoles", "ui:widget": "genaiRoles",
}, },
"*.api_key": { "*.api_key": {
"ui:widget": "password",
"ui:options": { size: "lg" }, "ui:options": { size: "lg" },
}, },
"*.base_url": { "*.base_url": {

View File

@ -64,6 +64,7 @@ const mqtt: SectionConfigOverrides = {
liveValidate: true, liveValidate: true,
uiSchema: { uiSchema: {
password: { password: {
"ui:widget": "password",
"ui:options": { size: "xs" }, "ui:options": { size: "xs" },
}, },
}, },

View File

@ -29,6 +29,9 @@ const onvif: SectionConfigOverrides = {
host: { host: {
"ui:options": { size: "sm" }, "ui:options": { size: "sm" },
}, },
password: {
"ui:widget": "password",
},
profile: { profile: {
"ui:widget": "onvifProfile", "ui:widget": "onvifProfile",
}, },

View File

@ -18,6 +18,7 @@ const proxy: SectionConfigOverrides = {
"ui:options": { size: "lg" }, "ui:options": { size: "lg" },
}, },
auth_secret: { auth_secret: {
"ui:widget": "password",
"ui:options": { size: "md" }, "ui:options": { size: "md" },
}, },
header_map: { header_map: {