Commit Graph

18 Commits

Author SHA1 Message Date
Sam Minnee
d11b9474ed FIX: Fix readonly transformation of field with setTitleField()
If the title field was customised, this metadata was lost during a
readonly transformation. This can cause fatal errors in read-only views
such as history browsing.
2020-06-17 16:40:57 +12:00
Guy Marriott
61d3d04ed6
FIX Removing potentially breaking lower-case change (and fix tests) 2019-07-25 12:13:52 +12:00
Robbie Averill
8030ddf960 Add tests for schema generation, further switch to short array syntax 2018-11-16 11:29:49 +02:00
Robbie Averill
9daa667415 FIX StringTagField now populates available options from its input, and works with React TagField
Suggesting options from a list of tags that are already set as values makes no sense. The
example code in the documentation shows that you provide an input array of options, so
that should be what is used to suggest options when lazy loading.
2018-11-15 22:59:08 +02:00
priyashantha
a5dd9682a1 tiny updates for coding standards 2018-01-24 12:16:15 +05:30
priyashantha
94fba0d260 fixed php lint issues 2018-01-23 11:06:09 +05:30
Nivanka Fonseka
6d7d6ff9e2 readonly field namespaces are corrected and updated the unit tests with cases covering performReadonlyTrasnformation 2018-01-19 13:07:55 +05:30
Robbie Averill
cde9dc917a FIX SS4 compatibility updates, PSR-4 in tests, table_name in stubs 2017-06-22 17:15:17 +12:00
Damian Mooyman
2129f9f997
BUG Fix issue with initial save 2017-01-26 18:10:14 +13:00
Robbie Averill
518189e2ef SilverStripe 4 compatibility (#87)
* Update composer constraint and branch alias to support SS4 testing

* Add namespaces, update DataList quirk with getSourceList

* Add PSR-4 autoloader definition

* Move template to correct namespace location, update requirement paths

* FIX Visibility on allowed actions

* FIX Update chosen class names to match updates in framework

* Update Travis configuration for 4.x builds. Update docs for namespaced classes.

* Use "4" for the release instead of master.

* FIX Selected tag height. Move Readonly to own class.
2017-01-13 19:11:59 +00:00
Myles Derham
a75eab8801 Update TagFieldTest.php 2016-11-24 12:18:35 +13:00
Myles Beardsmore
59078749bb Updated tests to work with new logic (numeric tags). 2016-02-11 08:44:20 +13:00
Daniel Hensby
844b2ca7eb FIX Tests with hard coded IDs 2016-01-05 08:59:37 +00:00
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
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