Loz Calver
cbf8050f2a
Allow use of setHasEmptyDefault() in StringTagField
2017-03-27 14:42:45 +01:00
Damian Mooyman
5f3f458398
BUG Resolve issue with numeric tags being saved
...
Removed is_numeric check in SaveInto function
2016-11-24 13:26:46 +13:00
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
Colin Tucker
d8b8c875bb
Formatting fix
2016-02-25 13:18:56 +11:00
Colin Tucker
d3e636e647
Filters selected options and renders as readonly
2016-02-25 13:06:21 +11:00
Colin Tucker
47392c5dde
Initial readonly field modifications
2016-02-25 12:32:29 +11:00
Myles Beardsmore
65f6d7531b
converted tabs to spaces as per psr-2
2016-02-04 16:07:15 +13:00
Myles Beardsmore
76c10d8df2
Updated TagField to work with numeric tags
2016-02-04 12:08:34 +13:00
Myles Beardsmore
d7ca8caa83
Removed is_numeric check in SaveInto function
2016-01-27 15:49:36 +13:00
Michael van Schaik
8412bad2fa
Bugfix: show source tags if not lazyloading
...
Fixes #25 : no source tags would be shown if not lazy loading (on new records/records without any pre-selected tags)
2015-12-30 14:08:18 +01: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
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