Unanswered: How to populate fields in form panel when record has a HasOne association?
Unanswered: How to populate fields in form panel when record has a HasOne association?
Hi!
Im stuck on what I'm sure is a relatively easy thing to do. I have a model with HasOne association and I need to fill in the form values. Usually its a simple process where i just use setRecord on the form panel and the values are populated based on names of the fields. That does not appear to work for models with HasOne association. I've already looked around for solution online, but cant seem to find one.
Does anybody have any ideas how this should be achieved