Commit Graph

16 Commits

Author SHA1 Message Date
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
Michael van Schaik
07868abfb5
Adding $schemaComponent to make react render correct component
Fixes #198
2021-11-24 15:41:10 +01:00
Loz Calver
debcd12b62 Fix missing CSS class for StringTagField initialisation (closes #148) 2021-07-26 09:49:05 +01:00
Loz Calver
325de9e94d Fix StringTagField initialisation (fixes #148) 2021-06-18 12:02:05 +01:00
Robbie Averill
daf71e2fab FIX StringTagField now works with SS-2018-021/CVE-2019-5715 by serialising arrays before write 2019-02-19 11:20:13 +07:00
Hayden Shaw
fd06a8da5f Add css and js to left and main
* Add yaml file
* Remove requirement calls from field constructors
2018-12-19 14:40:17 +13: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
Robbie Averill
54b7d0ff72 Reference correct css and javascript bundles 2018-11-15 21:33:50 +02:00
Robbie Averill
204ef6df53 Update array syntax style, broken doc blocks and namespace imports 2018-11-15 21:33:38 +02:00
Robbie Averill
1ad87eb374 FIX Replace Convert JSON methods with json_* methods, deprecated from SilverStripe 4.4 2018-10-28 21:42:26 +00:00
Robbie Averill
e2aea4e0eb FIX Update module for latest SS4, vendorise
* Update Scrutinizer configuration
* Update Travis and code coverage build badges, update example code
2017-10-18 14:19:15 +13:00
tim
7fcf5333ae declaring allowed actions as private as per RequestHandler, fixes SS4beta2 compat issues 2017-08-07 18:54:55 +12:00
Lee Bradley
ad28757338 Remove Requirements::javascript() for Framework src JS
As jQuery is bundled in the frameworks vendor.js having
  these calls causes a duplicate of the jQuery library

This also means plugins link with the wrong library etc.
  Noticed with `jQuery.dialog()` from a Page edit screen
  going to an associated DataObject edit screen
2017-02-24 11:08:52 +00: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