@@ -140,10 +140,12 @@ $formID = rand(0, 100000);
computed: {
bmi: function () {
let result = '';
- let h = this.items.heightInches.value, w = this.items.weightPounds.value;
+ let h = this.items.heightInches, w = this.items.weightPounds;
if(!h || !w) {
return result;
}
+ h = h.value;
+ w = w.value;
try {
h = parseFloat(h);
w = parseFloat(w);