has_one field doesn't show up #4051
Replies: 2 comments 9 replies
-
Nested on forms is on the advanced license tier, it is also mentioned on the docs. I would start by there, if I understand correctly you're using
Did it work? Were you able to install
We've discussed this a few times, and I agree it would be a really cool feature to have. It would greatly improve the DX (developer experience)! It's not on the near-term roadmap, but it's definitely something we want to support at some point. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I keep mixing up the plans... 😅 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I added an has_one field to a resource and I want it to show up as a nested form when creating a new resource:
The "delivery" field does not show up in the form, though.
This has happened before a few times with other fields, most of the time it was a problem with the policy.
I added a
delivery_policy.rb
though and it allows creating, updating etc.I also use
inherit_association_from_policy
in myMessagePolicy
to setcreate_delivery?
etc. to true.What else could be the problem?
EDIT: I have upgraded to the Professional plan to enable the nested form feature, and I have installed "avo-professional" instead of "avo-pro".
(in the future, it would be nice to have some kind of "debug mode" that could be turned on in development to find out why certain fields or actions are not displayed)
Beta Was this translation helpful? Give feedback.
All reactions