Default values of a multiselect input in widget options using widget.xml
-
12-12-2019 - |
Question
I have this option in my widget.xml:
<animation_effects>
<label>Effects</label>
<visible>1</visible>
<required>0</required>
<type>multiselect</type>
<source_model>Test_MyModule_Model_System_Config_Source_Ease</source_model>
<values>fade scale</values>
</animation_effects>
How can I set default values of this multiselect input of my widget ?
Solution
If I remember correctly multiselect values are stored comma separated. Have you tried <value>opt1,opt2</value>
?
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange