From 451306f7194adf1158777c21040159bd86ff9d34 Mon Sep 17 00:00:00 2001 From: Xavier Julian Date: Mon, 10 Mar 2025 11:01:05 +0100 Subject: [PATCH] :sparkles: Add a maxlenght to input CRUD tokens --- frontend/src/app/main/ui/workspace/tokens/form.cljs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/app/main/ui/workspace/tokens/form.cljs b/frontend/src/app/main/ui/workspace/tokens/form.cljs index a850e25280..51d6e48dbd 100644 --- a/frontend/src/app/main/ui/workspace/tokens/form.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/form.cljs @@ -492,6 +492,7 @@ :auto-focus true :label (tr "workspace.token.token-name") :default-value @name-ref + :maxlength 256 :on-blur on-blur-name :on-change on-update-name}]) @@ -514,6 +515,7 @@ {:id "token-value" :placeholder (tr "workspace.token.enter-token-value") :label (tr "workspace.token.token-value") + :maxlength 256 :default-value @value-ref :ref value-input-ref :on-change on-update-value @@ -532,6 +534,7 @@ {:id "token-description" :placeholder (tr "workspace.token.enter-token-description") :label (tr "workspace.token.token-description") + :maxlength 256 :default-value @description-ref :on-blur on-update-description :on-change on-update-description}]