title: Kendo data-bind with custom objects in <select> element
body: <p>I'm just starting with kendo UI and right away got stuck with a rather simple problem.
  So I have </p>
  
  <ul>
  <li>first select element which consists of array of 'User' objects.</li>
  <li>regular input with username</li>
  <li>second select containing user roles</li>
  </ul>
  
  <p>Code I have so far:</p>
  
  <p>HTML markup:</p>
  
  <pre><code>&lt;form id="change-user"&gt;
     &lt;select data-text-field="username" data-bind="source: userList, value: selectedUser"&gt;
     &lt;/select&gt;
     &lt;label&gt;Username: &lt;input data-bind="value: selectedUser.username"&gt;&lt;/label&gt;
     &lt;label&gt;Role: 
         &lt;select data-text-field="name" data-value-field="id" data-bind="source: userRoles, value: selectedUser.role"&gt;&lt;/select&gt;
     &lt;/label&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>var model = kendo.observable({
          userList: [
              {
                  id: 1,
                  username: 'user1',
                  role: 1
              },
              {
                  id: 2,
                  username: 'user2',
                  role: 2
              },
              {
                  id: 3,
                  username: 'user3',
                  role: 3
              }
          ],
          selectedUser: null,
          userRoles: [
              {
                  id: 1,
                  name: 'Admin'
              },
              {
                  id: 2,
                  name: 'User'
              },
              {
                  id: 3,
                  name: 'Moderator'
              }
          ]
      });
  
      kendo.bind($('form#change-user'), model);
  </code></pre>
  
  <p>But this doesn't seem to work. It seems that property 'selectedUser' gets string value 'user1', 'user2' and so on instead of becoming javascript object.</p>
  
  <p>I know solution to my problem is probably really simple, but I couldn't figure it out - kendo documentation is really massive and I'm not sure which keywords I should google.</p>
  
  <p>Thank you.</p>