Commit Graph

17 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
helpfulrobot
48a07375a0 Converted to PSR-2 2015-11-18 17:05:38 +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
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
Zauberfisch
99c2ff75d9 Added missing $isMultiple 2015-10-20 20:40:54 +00:00
Zauberfisch
140d330ab7 Added missing $isMultiple 2015-10-20 07:10:00 +00:00
Myles Beardsmore
c179e08c0e Removed duplicate setAttribute('multiple') 2015-10-09 11:45:53 +13:00
Myles Beardsmore
fec1c8885c Added option to disable multiple selections. 2015-10-09 11:10:33 +13:00
UndefinedOffset
b29d8d2bba BUGFIX: Fixed notice from array_filter when the value is null 2015-10-06 12:04:04 -03:00
Loz Calver
b39ca06833 Override DropdownField::validate() in StringTagField 2015-09-23 09:56:18 +01: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
3Dgoo
97d27a60c0 Fixing missing template error
The StringTagField tries to use a StringTagField.ss template, which doesn't existing. I have changed this to use the TagField.ss template instead.
2015-08-21 10:40:22 +09:30
Mark Guinn
babc06cf16 FIX: Override DropdownField::validate for SS3.2 compatiblity 2015-08-17 16:53:38 +01:00
Christopher Pitt
5efeb5642f Stabilized API 2015-05-22 15:22:13 +12:00
Christopher Pitt
c72903dc39 Added tests and extra ajax functionality 2015-04-27 10:38:46 +12:00
Christopher Pitt
8e301c4884 PHP 5.3.3 fix 2015-04-14 15:05:05 +12:00
Christopher Pitt
ef17aae753 Moved source code 2015-04-14 13:15:28 +12:00