Ingo Schommer
ec8ca5bf2a
DOCS Note about CMS usage
...
Fixes https://github.com/silverstripe/silverstripe-tagfield/issues/145
2019-07-04 09:09:48 +12:00
Robbie Averill
b5ca874591
Merge pull request #142 from SilverStripers/fix/source-list-queries
...
fixed the issue with filters being taken off from rendering values
2019-04-29 15:55:58 +12:00
Nivanka Fonseka
6276ad2aee
php cs fixes
2019-04-29 06:37:31 +05:30
Nivanka Fonseka
ead0fbac6b
fixed the issue with filters being taken off from rendering values
2019-04-17 11:19:42 +05:30
Robbie Averill
5bf4b2959a
Merge branch '2.3'
2019-04-15 15:50:16 +12:00
Robbie Averill
406ad083b5
Remove obsolete branch alias
2019-04-15 15:49:57 +12:00
Robbie Averill
d24400cbbd
Merge branch '2.2'
2019-02-19 11:21:23 +07: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
Robbie Averill
968a4f585e
Merge branch '2.0' into 2.1
2019-02-19 11:15:39 +07:00
Guy Marriott
dac02faa66
Merge pull request #137 from creative-commoners/pulls/2.0/scalars
...
FIX StringTagField now works with SS-2018-021/CVE-2019-5715 by serialising arrays before write
2019-02-19 17:14:23 +13:00
Robbie Averill
3ff72be24c
FIX StringTagField now works with SS-2018-021/CVE-2019-5715 by serialising arrays before write
2019-02-19 11:09:02 +07:00
Guy Marriott
44451775b3
Merge pull request #136 from pixelfusion/master
...
Component TagField does not exist (Proptypes Issue)
2019-02-18 10:40:46 +13:00
Anthony van Beek
e709436693
New bundle
2019-02-18 09:23:45 +13:00
Anthony van Beek
9e4801809d
Renamed package
2019-02-15 16:04:32 +13:00
Anthony van Beek
67015b8545
Renamed package
2019-02-15 15:48:56 +13:00
Anthony van Beek
4403b2911d
Don't change the package name
2019-02-15 15:07:53 +13:00
Anthony van Beek
ce3e37d79c
Fixes Proptypes error
2019-02-15 14:57:58 +13:00
Anthony van Beek
ea75c0b11a
Fixes Proptypes error
2019-02-15 14:57:17 +13:00
Robbie Averill
cf06c6129c
Merge pull request #135 from neilcreagh/master
...
Update readme.md
2019-02-13 21:28:14 +07:00
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