mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 14:38:29 +02:00
✨ Add a maxlenght to input CRUD tokens
This commit is contained in:
parent
29518f3ba5
commit
451306f719
1 changed files with 3 additions and 0 deletions
|
@ -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}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue