I am using the Oxygen SDK 20.1.0.3 and I have a problem with the option "onChange" of an oxy_combobox.
Here is my test case :
Code: Select all
node1 {
content: oxy_combobox(
edit, "@attribute",
editable, false,
values, "val1, val2",
labels, "label1, label2",
onChange, oxy_action(
name, 'Insert',
description, 'Insert an element after the current one',
operation, 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation',
arg-fragment, '<element></element>',
arg-insertLocation, '.',
arg-insertPosition, 'After'));
}
node2 {
content: oxy_textfield(edit, "#text", editable, "true");
}
When I edit manually the oxy_textfield of the node2, the oxy_action is also triggered and an element is created after the node2 => KO
Do you reproduce this bug ?
Thanks,
Johann