Zero values were not rendered in input fields (#52)
Zero values were not rendered in input fields (#52)

JSONForm used loose checks on values throughout the code, e.g.:
  if (value) {}
  var val = value || '';
The condition evaluates to false in each of these cases when value
is 0.

I updated the code to call "isSet" when needed.

tagyangyang/jsonform,ulion/jsonform,jsonform/jsonform,ulion/jsonform,nishant8BITS/jsonform,imkevinyang/jsonform,suricactus/jsonform,imkevinyang/jsonform,capriza/jsonform,suricactus/jsonform,widgetworks/jsonform,globocom/jsonform,widgetworks/jsonform,iainbeeston/jsonform,capriza/jsonform,joshfire/jsonform,jsonform/jsonform,globocom/jsonform,tagyangyang/jsonform,joshfire/jsonform,mrthan/jsonform-rails,yklykl530/jsonform,nishant8BITS/jsonform