Commit Graph

182 Commits

Author SHA1 Message Date
3Dgoo be0565c660 Fixing setValue null value bug
On occasions when a form is submitted `StringTagField` throws an error saying `ERROR [Warning]: array_filter() expects parameter 1 to be array, null given` at the end of the `setValue` function. 

I have added some code that checks if `$value` is `null`. If it is `null` it sets `$value` to an empty array to prevent the error from occurring.
2015-11-23 12:27:59 +10:30
Daniel Hensby 96c48ab136 Merge pull request #66 from helpfulrobot/add-standard-code-of-conduct
Added standard code of conduct
2015-11-21 10:27:39 +00:00
Daniel Hensby 6c31f5fe51 Merge pull request #64 from helpfulrobot/add-license-to-composer
Added license to composer.json
2015-11-21 10:27:26 +00:00
helpfulrobot 425f64bca9 Added standard code of conduct 2015-11-21 20:17:21 +13:00
helpfulrobot 1a95c57008 Added license to composer.json 2015-11-20 11:10:01 +13:00
Daniel Hensby 0ddb3ba79c Merge pull request #63 from helpfulrobot/add-standard-license
Added standard license
2015-11-19 21:39:33 +00:00
helpfulrobot 7421f02f7d Added standard license 2015-11-20 10:27:31 +13:00
Daniel Hensby 10b84002b3 Merge pull request #60 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-11-19 17:37:10 +00:00
Daniel Hensby 7ece1f4a43 Merge pull request #62 from helpfulrobot/add-standard-editor-config
Added standard editor config
2015-11-19 17:36:51 +00:00
Daniel Hensby e36a97bef5 Merge pull request #61 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2015-11-19 17:36:45 +00:00
Daniel Hensby 186aa2d305 Merge pull request #65 from helpfulrobot/add-standard-git-attributes
Added standard git attributes
2015-11-19 10:41:46 +00:00
helpfulrobot 5b707b6d65 Added standard git attributes 2015-11-19 19:13:48 +13:00
helpfulrobot d4c17df674 Added standard Travis config 2015-11-19 14:20:52 +13:00
helpfulrobot abe2767af9 Added standard editor config 2015-11-19 13:26:56 +13:00
helpfulrobot 48a07375a0 Converted to PSR-2 2015-11-18 17:05:38 +13:00
Christopher Pitt d70a61ae98 Merge pull request #59 from helpfulrobot/add-standard-scrutinizer-config
Added standard Scrutinizer config
2015-11-18 15:57:09 +13:00
helpfulrobot e95efc90d0 Added standard Scrutinizer config 2015-11-18 15:32:40 +13:00
Christopher Pitt b5cf2a8d27 Update changelog.md 2015-11-04 14:30:26 +13:00
Christopher Pitt d46e325aa7 Merge pull request #58 from tractorcow/pulls/fix-dupe-records
BUG Fix duplicate tag creation
2015-11-04 14:25:35 +13:00
Damian Mooyman 2077c9df20 BUG Fix duplicate tag creation
BUG Fix isMultiple not being initialised
BUG Fix tag rendering as a 100px wide container
2015-11-04 14:19:25 +13:00
Christopher Pitt 847a237938 Update changelog.md 2015-11-04 12:19:31 +13:00
Christopher Pitt 641128f2d6 Merge pull request #57 from tractorcow/pulls/fix-source
BUG Fix items not included from source appearing in suggestions
2015-11-04 12:11:30 +13:00
Damian Mooyman 75a7e956ba BUG Fix items not included from source appearing in suggestions
Fixes https://github.com/silverstripe/silverstripe-blog/issues/295
2015-11-03 18:27:15 +13:00
Christopher Pitt 04e99483da Merge pull request #53 from Zauberfisch/patch-2
Added missing $isMultiple
2015-10-20 13:45:33 -07:00
Zauberfisch 99c2ff75d9 Added missing $isMultiple 2015-10-20 20:40:54 +00:00
Christopher Pitt 1dd341c559 Merge pull request #52 from Zauberfisch/patch-1
Added missing $isMultiple
2015-10-20 13:30:34 -07:00
Zauberfisch 140d330ab7 Added missing $isMultiple 2015-10-20 07:10:00 +00:00
Christopher Pitt 98867b6ac0 Merge pull request #49 from mediabeastnz/added-isMultiple-option
FIX: Removed duplicate setAttribute('multiple')
2015-10-09 11:52:04 +13:00
Myles Beardsmore c179e08c0e Removed duplicate setAttribute('multiple') 2015-10-09 11:45:53 +13:00
Christopher Pitt 89767f93d3 Merge pull request #48 from mediabeastnz/added-isMultiple-option
Added option to disable multiple selections.
2015-10-09 11:37:31 +13:00
Myles Beardsmore fec1c8885c Added option to disable multiple selections. 2015-10-09 11:10:33 +13:00
Christopher Pitt 2562d0e501 Merge pull request #46 from webbuilders-group/master
BUGFIX: Fixed notice from array_filter when the value is null
2015-10-07 05:59:05 +13:00
UndefinedOffset b29d8d2bba BUGFIX: Fixed notice from array_filter when the value is null 2015-10-06 12:04:04 -03:00
Christopher Pitt 9eb9b35871 Merge pull request #45 from kinglozzer/patch-3
Override DropdownField::validate() in StringTagField
2015-09-23 20:59:31 +12:00
Loz Calver b39ca06833 Override DropdownField::validate() in StringTagField 2015-09-23 09:56:18 +01:00
scott1702 87f93fb306 Merge pull request #44 from silverstripe-labs/fix-code-coverage-reporting
Fixed code coverage reporting
2015-09-14 09:25:47 +12:00
Christopher Pitt 066d28c21c Fixed code coverage reporting 2015-09-14 09:17:53 +12:00
Christopher Pitt 7d5de36dad Merge branch 'master' of github.com:silverstripe-labs/silverstripe-tagfield 2015-09-10 12:55:32 +12:00
Christopher Pitt 328f6bc86b Updated changelog 2015-09-10 12:54:41 +12:00
scott1702 063c0389d0 Merge pull request #43 from assertchris/fix-code-of-conduct
Fixed code of conduct
2015-09-10 12:52:43 +12:00
Christopher Pitt a6c309257e Merge pull request #39 from 3Dgoo/feature/select2-upgrade
Upgrading select2 code to the latest version.
2015-09-10 12:51:31 +12:00
Christopher Pitt 9e24f3ef8f Fixed code of conduct 2015-09-10 12:37:05 +12:00
scott1702 4ba67dd0db Merge pull request #42 from assertchris/make-supported
Made supported
2015-09-09 13:56:31 +12:00
Christopher Pitt d7f0206a0e Made supported 2015-09-09 13:28:43 +12:00
Christopher Pitt 4f86c021cf Merge pull request #40 from 3Dgoo/feature/readme-fixes
Little fixes to read me example code.
2015-09-08 14:17:09 +12:00
Michael df27daf0e1 Little fixes to read me example code. 2015-09-08 11:42:28 +09:30
3dgoo (Michael) 72c76efa19 Upgrading select2 code to the latest version. This fixes a rendering bug in safari where the hidden text box has a border displayed around it, making it not so hidden. 2015-09-03 20:22:01 +09:30
Christopher Pitt fc3e96a41b Merge pull request #38 from davidjeliba/master
Fixed issue where empty keywords field would be passed to array functions as a string
2015-08-27 13:28:59 +12:00
davidjeliba 54895965e8 Fixed issue where empty keywords field would be passed to array functions as a string. 2015-08-27 11:25:58 +10:00
Christopher Pitt 128f06a692 Merge pull request #27 from lingo/newmaster
BUGFIX: Allow use on frontend
2015-08-21 13:16:28 +12:00