mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Show resolved value
This commit is contained in:
parent
742bb6de05
commit
b4d7680cb4
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@
|
|||
(cond
|
||||
(= :separator item) [:li {:class (stl/css :separator)
|
||||
:key (dm/str element-id "-" index)}]
|
||||
:else (let [{:keys [value label selected?]} item
|
||||
:else (let [{:keys [label selected?]} item
|
||||
highlighted? (= highlighted index)]
|
||||
[:li
|
||||
{:key (str element-id "-" index)
|
||||
|
@ -103,7 +103,7 @@
|
|||
:data-label label
|
||||
:on-click #(on-select item)}
|
||||
[:span {:class (stl/css :label)} label]
|
||||
[:span {:class (stl/css :value)} value]
|
||||
[:span {:class (stl/css :value)} (wtc/resolve-token-value item)]
|
||||
[:span {:class (stl/css :check-icon)} i/tick]])))]]]))
|
||||
|
||||
(mf/defc editable-select
|
||||
|
|
Loading…
Add table
Reference in a new issue