brutusin / json-forms

JSON Schema to HTML form generator, supporting dynamic subschemas (on the fly resolution). Extensible and customizable library with zero dependencies. Bootstrap add-ons provided
http://brutusin.org/json-forms
Apache License 2.0
607 stars 168 forks source link

Fixed two small bugs #62

Closed shadow-identity closed 7 years ago

shadow-identity commented 7 years ago

Like in #48, there is the same case in 'object' renderer. Also sometimes I have troubles with undeclared and unused 'rendered' variable. This PR fixes those bugs.

Fixed s.properties.hasOwnProperty check in object render; Removed undeclared and unused rendered variable;

idelvall commented 7 years ago

Thanks @shadow-identity! Good cycling!