Hello guys, is there some way to handle with form ...
# avo-2
v
Hello guys, is there some way to handle with form with belongs_to association? instead of select field, we can just create a subform with belongs_to model fields I found this here: https://docs.avohq.io/2.0/resource-tools.html#add-custom-fields-on-forms is that the correct way? Ty so much
l
Hey @victorious-kangaroo-12568. This is the community chat. We monitor the GitHub issues channel more frequently here https://avo.cool/new-issue
I'm not sure I understood completely what you want to achieve? instead of a belongs_to, you'd like to add multiple selects? can you share more about what you're trying to do?
v
@lemon-wall-20836 in my case I want to create two resources in same form, for example (that is not good example, I know) a user with address, when user belongs to address I want to create a new user and a new address in same form, instead of select the existent in select_box
l
@victorious-kangaroo-12568 can you please open an issue on GitHub?
v
like nested_attributes or something like that
sure
l
the information is more widely available for everyone
thank you!
v
thanks for helping!
l
sure! anytime!
4 Views