mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +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
|
:auto-focus true
|
||||||
:label (tr "workspace.token.token-name")
|
:label (tr "workspace.token.token-name")
|
||||||
:default-value @name-ref
|
:default-value @name-ref
|
||||||
|
:maxlength 256
|
||||||
:on-blur on-blur-name
|
:on-blur on-blur-name
|
||||||
:on-change on-update-name}])
|
:on-change on-update-name}])
|
||||||
|
|
||||||
|
@ -514,6 +515,7 @@
|
||||||
{:id "token-value"
|
{:id "token-value"
|
||||||
:placeholder (tr "workspace.token.enter-token-value")
|
:placeholder (tr "workspace.token.enter-token-value")
|
||||||
:label (tr "workspace.token.token-value")
|
:label (tr "workspace.token.token-value")
|
||||||
|
:maxlength 256
|
||||||
:default-value @value-ref
|
:default-value @value-ref
|
||||||
:ref value-input-ref
|
:ref value-input-ref
|
||||||
:on-change on-update-value
|
:on-change on-update-value
|
||||||
|
@ -532,6 +534,7 @@
|
||||||
{:id "token-description"
|
{:id "token-description"
|
||||||
:placeholder (tr "workspace.token.enter-token-description")
|
:placeholder (tr "workspace.token.enter-token-description")
|
||||||
:label (tr "workspace.token.token-description")
|
:label (tr "workspace.token.token-description")
|
||||||
|
:maxlength 256
|
||||||
:default-value @description-ref
|
:default-value @description-ref
|
||||||
:on-blur on-update-description
|
:on-blur on-update-description
|
||||||
:on-change on-update-description}]
|
:on-change on-update-description}]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue