To test this, create a checkboxes field and give an attribute like validate="options". This will fail because the value will be an array and the rule is expecting a single value. After the patch, it will work with multiple values such as checkboxes or single values such as selects and radio buttons.
@test
To test this i add in the file: mod_articles_catagories.xml (in the map modules) the next "test"field.
name="show_description1"
validate="options"
multiple="true"
type="checkboxes"
class=""
default="0"
label="MOD_ARTICLES_CATEGORIES_FIELD_SHOW_DESCRIPTION_LABEL"
description="MOD_ARTICLES_CATEGORIES_FIELD_SHOW_DESCRIPTION_DESC">
TEST
JYES
JNO
</field>
I checked all three options.
Without patch i get a error.
With patch its works oke!
To test this, create a
checkboxes
field and give an attribute likevalidate="options"
. This will fail because the value will be an array and the rule is expecting a single value. After the patch, it will work with multiple values such as checkboxes or single values such as selects and radio buttons.