Results 1 to 4 of 4

Thread: How to populate fields in form panel when record has a HasOne association?

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default 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
      0  

    Default

    Anybody?

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Location
    Netherlands
    Posts
    50
    Answers
    6
    Vote Rating
    1
      0  

    Default

    How did you do it?

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    22
    Vote Rating
    1
      0  

    Default How?

    How did you do it?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •