Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Nov 28, 2023
1 parent eac54c3 commit 4b1215b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash_admin/components/resource/form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ defmodule AshAdmin.Components.Resource.Form do
@attribute.name,
Enum.map(@attribute.constraints[:one_of], &{to_name(&1), &1}),
selected: value(@value, @form, @attribute, List.first(@attribute.constraints[:one_of])),
prompt: allow_nil_option(@attribute, @attribute),
prompt: allow_nil_option(@attribute, @value),
name: @name || @form.name <> "[#{@attribute.name}]"
) %>
<% markdown?(@form.source.resource, @attribute) -> %>
Expand Down

0 comments on commit 4b1215b

Please sign in to comment.