mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Show value instead of label, add title
This commit is contained in:
@@ -208,9 +208,10 @@
|
|||||||
|
|
||||||
[:div {:class (dm/str class " " (stl/css :editable-select))
|
[:div {:class (dm/str class " " (stl/css :editable-select))
|
||||||
:ref on-node-load}
|
:ref on-node-load}
|
||||||
(when token
|
(when-let [{:keys [label value]} token]
|
||||||
[:div {:class (stl/css :token-pill)}
|
[:div {:title (str label ": " value)
|
||||||
(:label token)])
|
:class (stl/css :token-pill)}
|
||||||
|
value])
|
||||||
(cond
|
(cond
|
||||||
token [:input {:value (or (:token-value state) "")
|
token [:input {:value (or (:token-value state) "")
|
||||||
:class input-class
|
:class input-class
|
||||||
|
|||||||
Reference in New Issue
Block a user