Skip to content

Commit

Permalink
[tree-select-dropdown] Pass some props to the label part
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Jul 9, 2024
1 parent 61d9666 commit d0969f6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/re_com/tree_select.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,13 @@
[dd/dropdown
(themed ::dropdown
{:label (if label
[u/part label {}]
[u/part label {:model (deref-or-value model)
:state state
:placeholder placeholder
:label-fn label-fn
:group-label-fn group-label-fn
:labelable-items labelable-items
:id-fn id-fn}]
(when anchor-label
[:span {:title (alt-text-fn {:items labelable-items
:label-fn label-fn
Expand Down

0 comments on commit d0969f6

Please sign in to comment.