diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dc0a74..52373ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.1.3 - 2017-12-18 +### Fixed +- Map fields no longer cause global sets to fail to save! + ## 3.1.2 - 2017-12-18 ### Fixed - Fixed settings not translating for non-English languages diff --git a/composer.json b/composer.json index 3c51f62..78afaa7 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "ether/simplemap", "description": "A beautifully simple Google Map field type.", - "version": "3.1.2", + "version": "3.1.3", "type": "craft-plugin", "license": "MIT", "minimum-stability": "dev", diff --git a/src/fields/MapField.php b/src/fields/MapField.php index ec4668c..8e78af8 100644 --- a/src/fields/MapField.php +++ b/src/fields/MapField.php @@ -509,7 +509,7 @@ public function normalizeValue ($value, ElementInterface $element = null) public function getElementValidationRules (): array { return [ - MapValidator::class, + [MapValidator::class, 'on' => Element::SCENARIO_LIVE], ]; }