Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG]: fix bug after previous changes #8

Merged
merged 1 commit into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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