mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
fix: properly honor value_is_key
option
This commit is contained in:
parent
daf0a73cd2
commit
c1976e1eaa
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ defmodule AshPhoenix.Form.Auto do
|
|||
opts
|
||||
else
|
||||
key =
|
||||
opts[:value_is_key] ||
|
||||
manage_opts[:value_is_key] ||
|
||||
relationship.destination
|
||||
|> Ash.Resource.Info.primary_key()
|
||||
|> case do
|
||||
|
|
Loading…
Reference in a new issue