Neil Creagh
5276367784
Update readme.md
2019-02-13 12:22:45 +00:00
Robbie Averill
7b7dc3e58e
Add missing react-addons-test-utils dependency
2019-02-12 18:46:48 +07:00
Robbie Averill
3b54f02f6a
Merge pull request #128 from svenV88/patch-1
...
Update faulty import of TagField component
2019-02-12 18:39:25 +07:00
Guy Marriott
3f9085e9d4
Merge branch '2.2'
2019-01-25 09:45:34 +13:00
Guy Marriott
dd403bb96f
Merge pull request #133 from Kethatril/hotfix/fix-lazyloading-options
...
Replace lodash.debounce with a promise based debounce
2019-01-25 09:44:42 +13:00
Daniel Bonham
cc1add13f3
Replace lodash.debounce with https://github.com/bjoerge/debounce-promise Fixes https://github.com/silverstripe/silverstripe-tagfield/issues/132
2019-01-24 15:16:38 +13:00
Guy Marriott
d7762a1e72
Merge pull request #131 from thats4shaw/bugfix/add-assets-to-left-and-main
...
Add css and js to left and main
2018-12-19 21:56:35 +13:00
Guy Marriott
8a9241c522
FIX Make config namespace more specific
2018-12-19 21:55:03 +13: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
Sven Westerlaken
20becd7430
Update faulty import of TagField component
2018-12-11 14:48:56 +01:00
Robbie Averill
feff8b52f1
Merge pull request #124 from creative-commoners/pulls/2.2/ready-or-not-here-i-load
...
FIX Adding a debounce to fetching lazy loaded tags with tag field
2018-12-04 09:13:39 +00:00
Guy Marriott
836f5ff978
FIX Adding a debounce to fetching lazy loaded tags with tag field
2018-12-04 16:15:47 +13:00
Guy Marriott
ada0ec2d13
Merge pull request #122 from creative-commoners/pulls/2.2/fix-tag-class-name
...
FIX TagField and StringTagField now work correctly on SilverStripe 4.3
2018-11-20 10:47:52 +13: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
3de6d94328
DOCS Update StringTagField example code to explain the input source options
2018-11-15 23:15:30 +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
Robbie Averill
dbc519ef31
Move schema data into getSchemaDataDefaults() from Field()
2018-11-15 21:48:46 +02:00
Robbie Averill
c766cbcd67
Remove legacy css, javascript and changelog files
...
Only client/dist is exposed, and this should be used for all Requirements calls
2018-11-15 21:36:55 +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
3ce41f60ec
FIX Prevent FormField::Type() from adding "tag" class to TagField
2018-11-15 21:23:22 +02:00
Robbie Averill
b4f0a0476e
DOCS Fix Scrutinizer badge URL
2018-11-15 20:37:14 +02:00
Guy Marriott
02c646a0ee
Merge pull request #121 from creative-commoners/pulls/2.2/remove-json-methods
...
FIX Replace Convert JSON methods with json_* methods, deprecated from SilverStripe 4.4
2018-10-29 11:46:08 +13: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
4da004f3e2
Merge pull request #117 from littlegiant/fix-lazy-tags
...
Fix lazy tags
2018-09-17 23:25:59 +02:00
Damian Mooyman
77bad9b943
Use getShouldLazyLoad() accesser
2018-09-18 09:12:44 +12:00
Damian Mooyman
ce8ba85182
Revert default argument change
2018-09-17 18:24:03 +12:00
Damian Mooyman
690f0cc793
BUG Fix for $source left null
...
BUG Fix missing imports
Semver compatible setSource()
2018-09-17 18:18:40 +12:00
Simon Gow
024e648e5a
Added getSource() function to populate source inline with the api.
...
Source isn't populated to the parent because it's transformed directly
to an array. Instead we're lazy loading the source when it's requested.
2018-09-13 11:18:55 +12:00
Simon Gow
fa754f3fd3
TagField lazy load shouldnt render Options
...
TagField should only render options if the lazy load value isn't set. Options from here come from subsequent POSTs, and rendering the options for every request significantly slows down both the form generation and render.
2018-09-07 17:28:05 +12:00
Simon Gow
3797049a31
Resolve Performance issues with TagField
...
TagField hydrates the entire result set because a parent class calls `toArray()` on the $source.
This fix changes the source to an empty array, so no such manipulation can be made.
2018-09-06 18:16:06 +12:00
Robbie Averill
eb2c41b865
Merge branch '2.2'
2018-08-18 10:20:06 +12:00
Robbie Averill
7f5b1ebced
Require source and specify admin version in Travis config
2018-08-18 10:12:51 +12:00
Robbie Averill
2fd78f10a9
Add individual phpcs ruleset to Travis builds
2018-08-18 10:09:56 +12:00
Robbie Averill
956bd9d9a4
Bump recipe-cms to 4.3.x-dev and postgres to 2.1.x-dev
2018-08-18 00:19:48 +12:00
Robbie Averill
42fcd36ca8
Merge branch '2.2'
2018-07-26 16:34:52 +12:00
Robbie Averill
73eb3c1553
Bump minimum core version requirement to 4.3
2018-07-26 16:34:16 +12:00
Robbie Averill
c18690be06
Merge pull request #113 from creative-commoners/pulls/master/reactify-tags
...
Update module to use react-select
2018-07-17 17:08:21 +12:00
Guy Marriott
2067a3b69f
Building distribution files
2018-07-17 17:03:26 +12:00
Guy Marriott
3830a74296
Updating yarn.lock
2018-07-17 16:55:37 +12:00
Guy Marriott
5aed71b8b3
Updating to use injector & removing storybook
2018-07-17 16:50:49 +12:00
Guy Marriott
fac6a03aef
Revert modification of tests to keep B/C
2018-07-17 16:40:52 +12:00
Guy Marriott
b60bdabe57
Simplifying included custom styling - a lot
2018-07-17 16:31:52 +12:00
Guy Marriott
e67ed8de80
Adding NPM tests to travis
2018-07-17 16:20:00 +12:00
Guy Marriott
cef407d53f
Adding tests & various feedback updates
2018-07-17 16:19:44 +12:00
Raissa North
bf6664ebcf
Merge pull request #112 from creative-commoners/pulls/master/add-supported-module-badge
...
Add supported module badge to readme
2018-07-17 10:55:10 +12:00
Guy Marriott
70e83c0995
Travis fixes
2018-07-16 14:34:08 +12:00
Guy Marriott
ff3c8eb2bb
Additional changes to convert tagfield to use react-select
2018-07-16 13:27:11 +12:00
Guy Marriott
77f10965d4
NEW Converting tagfield to use react components
2018-07-11 17:47:38 +12:00
Dylan Wagstaff
4795a304a9
Add supported module badge to readme
2018-06-15 17:50:06 +12:00