This doesn't work as intended; when I have something 500g and put 0.5
into the kg field and hit tab or click away, it changes it to 1 kg and
200 g.It would be better to have one box for user entry, and the option
to switch between kg, g, and lb. This...