Skip to content

Commit

Permalink
Merge pull request #8 from statikbe/feature/5.0.2
Browse files Browse the repository at this point in the history
[BUG]: fix bug after previous changes
  • Loading branch information
Numkil authored Feb 24, 2025
2 parents 06f2571 + 5b92a48 commit 08ccea4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

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

## 5.0.2 - 2025-02-14
### Fixed
- Fixed a bug where the field couldn't be saved.

## 5.0.1 - 2025-02-14
### Added
- Implement correct interfaces on field so it displays in overview grid and use type text so the value can be longer
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "statikbe/craft-config-values",
"description": "Populate a field with values from the plugin's config",
"type": "craft-plugin",
"version": "5.0.1",
"version": "5.0.2",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/fields/ConfigValuesFieldField.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static function phpType(): string
*/
public function defineRules(): array
{
$rules = parent::rules();
$rules = parent::defineRules();
$rules = array_merge($rules, [
['dataSet', 'string'],
['dataSet', 'required'],
Expand Down

0 comments on commit 08ccea4

Please # to comment.