All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Undefined Array Key 0 Error in Craft 5.36 Colour Swatches 5.0.2 #133
- Error occurs when entering colors directly in the CMS field #127
- Fixed the bug when default color isn't the first in array #124
- Fixed the default fetch if the default isn't the first one in the config list
- Changed code according to PHPStan advise (prep for Craft 5)
- [Docs] Incorrect plugin name used in installation step #115
- Default swatch value returns as null #109
- Class Not found exception: percipioglobal\colourswatches\fields\ColourSwatches while creating new field. #112
- Syntax error when switching from Dropdown field type #111
- Randomly pick a set of colors from the color-swatches.php setup #84
- Fixed Element list in control panel - color preview is not displaying corretly if selected option has more than one color #101
- Fixed an issue where GQL would throw an error if it's a single color
- Added GraphQL support
- Fixed missing type for
getInputHtml $value
- Added GraphQL support
- Fixed missing type for
getInputHtml $value
- Provided a first level class property to set custom css classes
- Provided a first level class property to set custom css classes
- Fixed the migration to update the namespace
- Fixed an issue where Plugin wasn't renamed to ColorSwatches in ColourSwatches field
- Fixed an issue where the table attributes could throw a server error when the color was an array
- Fixed an issue where the field would save even if it was required
- Fixed a few missing types
- Fixed an issue where
$value
was not allowed to benull
- Official Craft 4 release
- Provided a migration to update the namespace from percipioglobal to percipiolondon
- Create release candidate of 4.0.0-beta.2
- Updated PHPDocs
- Fixed the editableTable config
- Craft CMS 4 compatibility
- PHPStan Level 5
- Updated PHPDocs
- Updated Types
- Removed unused element class