Repository navigation
Conversation
balabommablock-cpu
left a comment
There was a problem hiding this comment.
The 4 changed fields look right, and they match the CustomMcpServerCard.tsx pattern (off for IDs, new-password for secrets). I didn't repeat the browser autofill check.
One thing before this closes #3079: it fixes 2 of the issue's spots, and Fixes #3079 would close all of it. I scanned the PR head for <Input.Password tags without autoComplete (whole JSX tag, not one line). 21 of 52 still have none, including:
Settings/Models/.../ProviderConfigModal.tsx:1165: the API Key field from the issue's repro stepsCustomProviderModal.tsx:341,PresetProviderModal.tsx:437- 8 more in this same file,
Agent/Connectors/index.tsx(1705, 1770, 1795, 1962, 1993, 2103, 2141, 2194) - Voice (3), Embedding, VectorSearchConfig, Observability,
octop/Providers.tsx, Storage (2),Setup/DatabaseStep.tsx
Also the ChannelDrawer.tsx renderer (~L210), which covers all 14 channel password fields in one place.
Two easy options: change it to Part of #3079 so the issue stays open, or add the remaining ones here. The Connectors file and ChannelDrawer would be the cheapest, since one line in the renderer fixes every channel.
|
Extended in Verified on the new head: |
Summary
Credential inputs in the dashboard had no
autoCompletehints, so browsers treated config forms as a login form:App ID/SdkIdtext fields were filled with the saved login username,App Secret/Secret/ API-key password fields were filled with the saved login password.Fixes #3079. After review feedback, this now covers the remaining 21 config password inputs, not only the connector drawer.
Changes
Agent/Connectors/index.tsx): the original four fields plus the remaining 8<Input.Password>fields →autoComplete="new-password".Agent/Channels/components/ChannelDrawer.tsx): the shared field renderer setsnew-passwordforpasswordfields andofffor the other channel fields (covers all 14 channel config fields in one place).ProviderConfigModal,CustomProviderModal,PresetProviderModalAPI keys.octop/Providers.Login, setup password, and user-management password inputs are unchanged: there
current-password/ password-manager behavior is intentional.Verification
The full dashboard build runs in CI (
Build dashboardjob). Autofill behavior itself is browser-driven; the attributes are the supported opt-out mechanism, matchingCustomMcpServerCard.tsx.Notes
No behavior logic changed; only form attributes plus formatting of the touched JSX.