Skip to content

Commit 876388c

Browse files
committed
have to accept a title
1 parent 3695a29 commit 876388c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/peek_app_sdk/ui/odyssey/activity_picker.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ defmodule PeekAppSDK.UI.Odyssey.OdysseyActivityPicker do
6262
phx-update="ignore"
6363
title="Activity Picker"
6464
phx-target={@myself}
65+
title={@title}
6566
multiple={if(@multiple, do: "true", else: "false")}
6667
ids={process_ids_for_multi_select(@field.value)}
6768
products={Jason.encode!(@products)}
@@ -86,6 +87,7 @@ defmodule PeekAppSDK.UI.Odyssey.OdysseyActivityPicker do
8687
attr(:id, :string, doc: "component id, defaults to form_field_activity_picker")
8788
attr(:multiple, :boolean, default: false, doc: "whether to allow multiple selections")
8889
attr(:install_id, :string, required: true, doc: "the install id for the current partner")
90+
attr(:title, :string, default: "Activity Picker", doc: "the title for the picker")
8991

9092
def odyssey_activity_picker(assigns) do
9193
assigns =

0 commit comments

Comments
 (0)