Commit Graph

31 Commits

Author SHA1 Message Date
Guy Sartorelli
1b97237abb
Merge branch '2' into 3.0 2023-04-27 14:56:05 +12:00
Guy Sartorelli
635d13c6bb
Merge branch '2.10' into 2.11 2023-04-26 13:48:56 +12:00
Guy Sartorelli
158bc006a5
FIX Format value to string for readonly transformation
Co-authored-by: Werner Huber <w.huber@byro13.de>
2023-04-17 13:51:10 +12:00
Sabina Talipova
6f203a36af
API Remove deprecated code (#228) 2023-01-25 13:54:29 +13:00
Steve Boyd
dc932bd72d API Stop using deprecated API 2022-11-24 17:39:57 +13:00
Will Rossiter
527c5b2224
FIX Selected tag is not shown when isMutliple is false (#201)
* doc: add note about `setTitleField` (Fixes #153)

* NEW Add support for saving tag value into has_one components

FIX Value not shown if isMultiple is false (#195)

* fix: don't default to ID column as pgsql throws an error if comparing string value
2022-06-07 13:00:12 +12:00
Steve Boyd
1b7dba124a ENH PHP 8.1 compatibility 2022-04-13 13:50:19 +12:00
Daniel Kliemsch
0a04e35825
ENH Make the write call of StringTagField::saveInto method configurable (#208)
* Make the immediate write call of StringTagField::saveInto method configurable
* Set immediate_write_enabled option in the class instead of config; add deprecation notice
* Add tests for the immediate write option
2022-04-04 20:27:49 +12:00
Steve Boyd
5eae80abb3 API phpunit 9 support 2021-10-27 18:15:33 +13:00
Maxime Rainville
ccca22c6fa Merge branch '2.4' into 2 2020-10-22 13:41:47 +13:00
Ingo Schommer
70d80920d7 FIX Preselect based on SS_List values 2020-07-16 17:45:04 +12:00
Damian Mooyman
5decfa39e1
Merge remote-tracking branch 'origin/2.4' into pulls/fix-react 2020-07-06 14:18:12 +12:00
Damian Mooyman
a61612ec4b
BUG Resolve issue with react select values not being saved
Fixes #150
2020-07-06 14:17:08 +12:00
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