oxy_checkbox issue
Posted: Fri Jan 25, 2019 2:07 pm
Hello everyone,
I noticed a difference in behavior and rendering in the CSS of oxy_checkbox between the oxygen component 19.1.0.3 and oxygen XML Editor 20.1.
In both cases, I apply this CSS fragment:
In the Author view of XML Editor 20.1, I have exactly the desired behavior. A checkbox checked when the value of my attribute is 1 and unchecked when the value of this attribute is 0. When I click on the checkbox, the attribute changes value.
However, in the oxygen component, the display is not good. No checkbox is checked and when I try to click on a checkbox, a message appears:
Thank you in advance for your help,
Johann
I noticed a difference in behavior and rendering in the CSS of oxy_checkbox between the oxygen component 19.1.0.3 and oxygen XML Editor 20.1.
In both cases, I apply this CSS fragment:
Code: Select all
pubdata:before(99) {
content: oxy_checkbox(edit, "@isaff", values, "1", uncheckedValues, "0", labels,"");
}
However, in the oxygen component, the display is not good. No checkbox is checked and when I try to click on a checkbox, a message appears:
Where can this difference come from?The attribute does not have a valid XML name: "isaff"
A valid attribute name must match the standard specification: http://www.w3.org/TR/xml/#NT-Name
Thank you in advance for your help,
Johann