madhu
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
let me start from scratch with
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
ok
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
I am first time trying with ash phoenix form component, I am not getting clue my complete component as shown below
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
ok
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
<.input form={@form} field={:email} label="Email" readonly class="w-full px-3 py-2 border rounded bg-gray-100" /> this line, the email coming from ash_authentication user profile
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
I am getting this error not able to resolve
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
my dependency {:ash_phoenix, "~> 2.3"}, why I am not able do import AshPhoenix.FormComponents
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
ok
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
I am doing this "phoenix_form = AshPhoenix.FormData.to_form(form, as: "user_profile")" still same issue
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
ok sure, thank you
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
application stuck
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
I am. not able to render form at all
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
form =
if profile do
AshPhoenix.Form.for_update(profile, :update,
as: "user_profile",
api: ObanDashboard,
forms: [auto?: true],
params: params
)
else
AshPhoenix.Form.for_create(UserProfile, :create,
as: "user_profile",
api: ObanDashboard,
forms: [auto?: true],
params: params
)
end
# phoenix_form = AshPhoenix.FormData.to_form(form, as: "user_profile")
phoenix_form = form
case form.source.action_result do
{:ok, profile} ->
{:noreply,
assign(socket, profile: profile, form: form, phoenix_form: phoenixform, success: true)}
->
{:noreply, assign(socket, form: form, phoenix_form: phoenix_form, success: false)}
end
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
core components - 402 "<input
type={@type}
name={@name}
id={@id}
value={Phoenix.HTML.Form.normalize_value(@type, @value)}
class={[
"mt-2 block w-full rounded-lg text-zinc-900 focus:ring-0 sm:text-sm sm:leading-6",
@errors == [] && "border-zinc-300 focus:border-zinc-400",
@errors != [] && "border-rose-400 focus:border-rose-400"
]}
{@rest}
/>"
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
<.input
form={@phoenix_form}
name="user_profile[email]"
value={@user.email}
field={:email}
label="Email"
readonly
class="w-full px-3 py-2 border rounded bg-gray-100"
/> -- 109
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
(phoenix_html 4.2.1) lib/phoenix_html/safe.ex:1: Phoenix.HTML.Safe.impl_for!/1
(phoenix_html 4.2.1) lib/phoenix_html/safe.ex:15: Phoenix.HTML.Safe.to_iodata/1
(phoenix_html 4.2.1) lib/phoenix_html.ex:244: Phoenix.HTML.build_attrs/1
(phoenix_html 4.2.1) lib/phoenix_html.ex:197: Phoenix.HTML.attributes_escape/1
(oban_dashboard 0.1.0) lib/oban_dashboard_web/components/core_components.ex:402: anonymous fn/2 in ObanDashboardWeb.CoreComponents."input (overridable 1)"/1
(oban_dashboard 0.1.0) /Users/amf-elixir-2025/oban_dashboard/lib/oban_dashboard_web/live/user_profile_live.ex:109: ObanDashboardWeb.UserProfileLive.render/1
(elixir 1.18.1) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix_live_view 1.0.11) lib/phoenix_live_view/diff.ex:412: Phoenix.LiveView.Diff.traverse/7
(phoenix_live_view 1.0.11) lib/phoenix_live_view/diff.ex:555: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7
(elixir 1.18.1) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix_live_view 1.0.11) lib/phoenix_live_view/diff.ex:412: Phoenix.LiveView.Diff.traverse/7
(phoenix_live_view 1.0.11) lib/phoenix_live_view/diff.ex:555: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7
(elixir 1.18.1) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix_live_view 1.0.11) lib/phoenix_live_view/diff.ex:412: Phoenix.LiveView.Diff.traverse/7
(phoenix_live_view 1.0.11) lib/phoenix_live_view/diff.ex:555: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7
(elixir 1.18.1) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(phoenix_live_view 1.0.11) lib/phoenix_live_view/diff.ex:412: Phoenix.LiveView.Diff.traverse/7
(phoenix_live_view 1.0.11) lib/phoenix_live_view/diff.ex:555: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7
43 replies
AEAsh Elixir
•Created by madhu on 5/20/2025 in #support
Getting protocol Phoenix.HTML.Safe not implemented with "Ash Phoenix"
defprotocol Phoenix.HTML.Safe do first line I am getting this error
43 replies