Skip to content

Commit 5b92a48

Browse files
author
Sarah
committed
[BUG]: fix bug after previous changes
1 parent 06f2571 commit 5b92a48

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 5.0.2 - 2025-02-14
8+
### Fixed
9+
- Fixed a bug where the field couldn't be saved.
10+
711
## 5.0.1 - 2025-02-14
812
### Added
913
- Implement correct interfaces on field so it displays in overview grid and use type text so the value can be longer

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "statikbe/craft-config-values",
33
"description": "Populate a field with values from the plugin's config",
44
"type": "craft-plugin",
5-
"version": "5.0.1",
5+
"version": "5.0.2",
66
"keywords": [
77
"craft",
88
"cms",

src/fields/ConfigValuesFieldField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static function phpType(): string
5757
*/
5858
public function defineRules(): array
5959
{
60-
$rules = parent::rules();
60+
$rules = parent::defineRules();
6161
$rules = array_merge($rules, [
6262
['dataSet', 'string'],
6363
['dataSet', 'required'],

0 commit comments

Comments
 (0)