codecombat / treema

jQuery plugin that generates HTML interfaces to edit JSON data defined by json-schema.
http://codecombat.github.io/treema/
MIT License
152 stars 36 forks source link

Schema select button intercepts clicks on value field #12

Closed nwinter closed 10 years ago

nwinter commented 10 years ago

When you have a property that can have multiple schemas, if you go to click on the value field to edit it, the schema select button intercepts the click instead. In order to edit the value, you have to click the key and then tab over to the value. Instead, you should be able to just click the value.

screenshot 2014-03-08 08 28 48

In this screenshot, if I click "radians", it's as if I clicked on the "S" to the left of it:

screenshot 2014-03-08 08 29 41

santosh2201 commented 10 years ago

@nwinter can you provide me either link to that particular page or (data + schema) ?

nwinter commented 10 years ago

You should be able to see these schema select boxes whenever you don't specify the type of a property. This particular page is in the CodeCombat level editor in the Component config.