Hello Isomorphic,
After upgrading to the latest 13.0p build, I encounter a problem with checkboxes which appear checked when their initial value is et to false.
I was able to reproduce this problem with the following very simple showcase example - running it displays a checked checkbox:
Can you confirm this is a bug and fix it ASAP?
If it helps, I was also able to identify what I think is the culprit code which I really can't make sense of - it's in Checkboxitem.js method _mapValue line 621:
I really can't make sense out of that else block... It wasn't there in the build form January which we were using before this upgrade.
Thanks in advance
Gil
After upgrading to the latest 13.0p build, I encounter a problem with checkboxes which appear checked when their initial value is et to false.
I was able to reproduce this problem with the following very simple showcase example - running it displays a checked checkbox:
Code:
isc.DynamicForm.create({ fields: [ {name: "checkbox", title: "Checkbox", type: "checkbox", value: false}, ] });
If it helps, I was also able to identify what I think is the culprit code which I really can't make sense of - it's in Checkboxitem.js method _mapValue line 621:
Code:
var map = this.getValueMap(); if (!isc.isAn.Array(map) && isc.isAn.Object(map)) value = map[value]; else if (this.value != null) { value = this.value == value; }
Thanks in advance
Gil
Comment