From 04fa28c0d393c4cf1cddbb082d98907243525810 Mon Sep 17 00:00:00 2001 From: Rowan Smith Date: Tue, 4 Aug 2026 03:52:07 +0900 Subject: [PATCH] fix: support adding multiline secrets via the UI (#27253) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Summary** Root cause (confirmed by reading SecretDialog.tsx): the Value field on the User Secrets "Add secret"/"Edit secret" dialog was rendered as , a single-line HTML control, so pasting a multiline kubeconfig/PEM/YAML got visually collapsed and the newlines were lost before the value ever reached the form state or the API request. Fix applied in site/src/pages/UserSettingsPage/SecretsPage/SecretDialog.tsx: * Swapped the Value field's for the same