Hi
I have a text field in the configuration section of my plugin. The expected values are numbers separated by ‘,’ eg 1,5,10. User should not be able to set this value to 0. How I can validate the field?
Hi
I have a text field in the configuration section of my plugin. The expected values are numbers separated by ‘,’ eg 1,5,10. User should not be able to set this value to 0. How I can validate the field?
AFAIK its not possible due to bugs in extjs version used by shopware.
https://forum.shopware.com/discussion/60552/config-xml-extjs-options-maskre-und-regex
unless you can write your rule with something else than regular expression.