Rich-Harris / svelte-knobby

MIT License
201 stars 16 forks source link

fix step for implicit numbers #21

Closed Rich-Harris closed 2 years ago

Rich-Harris commented 2 years ago

If you have this...

const opts = knobby.panel({
  foo: 0.1
});

...it will create an <input type="number"> with the default step of 1, meaning the 0.1 value is immediately lost.