Add a maxlenght to input CRUD tokens

This commit is contained in:
Xavier Julian 2025-03-10 11:01:05 +01:00 committed by Xaviju
parent 29518f3ba5
commit 451306f719

View file

@ -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}]