CSS: setting default value in oxy_popup
Posted: Tue Jun 22, 2021 3:09 pm
Hi there,
I have recently been playing with oxy_popup and I was wondering if it was possible to add a default type value for oxy_popup.
For example in this case, instead of seeing 'No Value' as the default value when a step element is selected, is it possible to change the default values to be another value (such as value1), whenever a step is created.
Or should this be done somewhere else?
I have recently been playing with oxy_popup and I was wondering if it was possible to add a default type value for oxy_popup.
For example in this case, instead of seeing 'No Value' as the default value when a step element is selected, is it possible to change the default values to be another value (such as value1), whenever a step is created.
Code: Select all
*[class ~= "task/step"][importance="value1"]:before,
*[class ~= "task/step"][importance="value2"]:before {
content: oxy_popup(
edit, '@importance',
values, "value1, value2, ",
labels, "Value1: , Value2: , 'No Value' ",
... ;
);
}