Commit Graph

12 Commits

Author SHA1 Message Date
Sander Hagenaars
f6a56982c0 added missing cancreate methods and property to StringTagField. 2016-08-21 12:34:19 +02:00
Robbie Averill
e3c42727e4 Apply canCreate permissions to Select2 for tags
* Resolves #80
2016-07-22 08:52:17 +12:00
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
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
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
Christopher Pitt
5efeb5642f Stabilized API 2015-05-22 15:22:13 +12:00