Page 1 of 1

oxy_editor CSS: Empty string as value for labels not possibl

Posted: Fri Jan 30, 2015 11:11 am
by joerg.hambuch
Hi,

in oXygen Author 16.1 the oxy_editor CSS function behaves different from version 16. To display checkboxes without a label we used to set the labels property to an empty string (""). In oXygen 16 this did what we expected it to do: It displayed no label.

In oXygen 16.1 the value of the values property is displayed ("done").

The manual http://www.oxygenxml.com/doc/ug-editor/ ... ditor.html says about the labels property: "In case this property is not specified, the values property is used as label".

If we set labels to an empty string it is specified. So I think this might be a bug in oXygen 16.1?

Our code:

Code: Select all

profileDesc > creation listChange change[status]:before{
content:
oxy_editor(
type, check,
edit, "@status",
values, "done",
uncheckedValues, "undone",
labels, ""
);
}
As a workaround we set label to a blank (" "). Now there is no visible label, but I think an empty string ("") should work as well.

Best regards,
Jörg

Re: oxy_editor CSS: Empty string as value for labels not pos

Posted: Fri Jan 30, 2015 12:52 pm
by alex_jitianu
Hi Jörg,

Thank you for reporting this situation. It is indeed something that was lost between the two versions. Fortunately the workaround to use a space if easy to use instead. We will fix it for the next version.

Best regards,
Alex

Re: oxy_editor CSS: Empty string as value for labels not pos

Posted: Fri Jan 30, 2015 12:59 pm
by joerg.hambuch
Thanks!

Re: oxy_editor CSS: Empty string as value for labels not pos

Posted: Mon May 18, 2015 3:08 pm
by Radu
Hi,

Just to update this thread, the initial behavior should be fixed in Oxygen 17.

Regards,
Radu