From 4b1215bc18d7d90daf487a6060404737de31d546 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Mon, 27 Nov 2023 20:26:38 -0500 Subject: [PATCH] chore: fix typo --- lib/ash_admin/components/resource/form.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ash_admin/components/resource/form.ex b/lib/ash_admin/components/resource/form.ex index 6cb6900..4c674ea 100644 --- a/lib/ash_admin/components/resource/form.ex +++ b/lib/ash_admin/components/resource/form.ex @@ -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) -> %>