🐛 Fix preview layer blend modes on multiselection and avoid

persisting data while previewing
This commit is contained in:
Alejandro Alonso 2023-05-24 08:52:26 +02:00
parent 23f0ee9e55
commit 6eb5c75ad4
6 changed files with 59 additions and 26 deletions

View file

@ -72,6 +72,9 @@
(d/read-string))]
(on-pointer-leave-option value)))))]
(mf/with-effect [default-value]
(swap! state* assoc :current-value default-value))
[:div.custom-select {:on-click open-dropdown :class class}
[:span current-label]
[:span.dropdown-button i/arrow-down]