title: Angular Schema Form - custom object editor
body: <p>I'm trying to create a simple 'location editor' using the angular-schema-form framework. The plan is to build a map editor widget with a draggable pin.</p>
  
  <p>The json schema for the item is relatively simple:</p>
  
  <pre><code>location: {
      title: "Location",
      type: "object",
      format: "location",
      properties: {
          latitude: {
              "type": "number"
          },
          longitude: {
              "type": "number"
          }
      }
  }
  </code></pre>
  
  <p>This is as far as I've got:
  <a href="http://plnkr.co/edit/tnSdxwrEmRYMNKFzep9f?p=preview" rel="nofollow">http://plnkr.co/edit/tnSdxwrEmRYMNKFzep9f?p=preview</a></p>
  
  <p>As you can see, editing the name works fine, but editing either of the two location fields doesn't update the model (unless you clear the inputs) and the validation only occurs on the second of the two input elements.</p>
  
  <p>I'm not sure where to look next - I can't find any other examples of an object editor (all examples on github deal with editing a single 'string' item). </p>
  
  <p>Is this supported, and if so, where have I gone wrong? </p>
  
  <p>Cheers!</p>