Error trying use createOptionForm to allow new record to be created in RelationManager #8197
Answered
by
danharrin
LemonPie22
asked this question in
Help
-
Beta Was this translation helpful? Give feedback.
Answered by
danharrin
Sep 1, 2023
Replies: 1 comment 1 reply
-
|
IMO, you should use a CreateAction alongside AttachAction, thats what it was designed for, not this If you want to fix how it currently is, you need to define a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LemonPie22
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



IMO, you should use a CreateAction alongside AttachAction, thats what it was designed for, not this
If you want to fix how it currently is, you need to define a
createOptionUsing()function that creates a new instance of the model from the$dataand then returns the ID.