diff --git a/src/apps/officer-web/Screens/Dashboard/Settings/IntegrationsSettings/AtelierProviders.tsx b/src/apps/officer-web/Screens/Dashboard/Settings/IntegrationsSettings/AtelierProviders.tsx index 12bcc597..3c7165f7 100644 --- a/src/apps/officer-web/Screens/Dashboard/Settings/IntegrationsSettings/AtelierProviders.tsx +++ b/src/apps/officer-web/Screens/Dashboard/Settings/IntegrationsSettings/AtelierProviders.tsx @@ -195,7 +195,17 @@ export const AtelierProviders = () => { -
+ {/* A form, so Enter saves. Pasting a key and pressing Enter is the strongest habit there + is in a password field, and outside a form it silently does nothing — which reads as + "the key did not save". TODO.md tracks nineteen panels with this same defect; this is + not the twentieth. */} +
{ + ev.preventDefault(); + void saveKey(provider.id); + }} + > { value={keyDrafts[provider.id] ?? ''} onChange={(ev) => setKeyDrafts((current) => ({ ...current, [provider.id]: ev.target.value }))} /> - -
+

Stored encrypted. The server never sends a key back, so this field always starts empty.