Use function in the props combo

pull/3310/head
Adam Rutkowski 3 years ago
parent 77f3612ca2
commit 9976df1f37

@ -56,7 +56,7 @@ defmodule PlausibleWeb.Live.PropsSettings do
submit_name="prop"
class="flex-1"
module={ComboBox}
suggest_mod={ComboBox.StaticSearch}
suggest_fun={&ComboBox.StaticSearch.suggest/2}
options={@suggestions}
required
creatable

Loading…
Cancel
Save