1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    2
    Vote Rating
    0
    marko.pejovic is on a distinguished road

      0  

    Default 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

    EDIT: Figured it out

  2. #2
    Sencha User
    Join Date
    Jan 2013
    Posts
    2
    Vote Rating
    0
    marko.pejovic is on a distinguished road

      0  

    Default

    Anybody?

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Location
    Netherlands
    Posts
    50
    Vote Rating
    1
    Answers
    6
    eastlander is on a distinguished road

      0  

    Default

    How did you do it?

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    18
    Vote Rating
    0
    Nikkelmann is on a distinguished road

      0  

    Default How?

    How did you do it?