Commit Graph

16 Commits

Author SHA1 Message Date
Guy Sartorelli ec93c994f8
NEW Extend new AbstractGridFieldComponent class (#332)
This makes this module's `GridFieldComponent` classes `Injectable`, and allows any future enhancements in the new abstract class to automatically apply without requiring additional changes in this module.

The class is introduced in silverstripe/framework 4.11.0 so the dependency constraint needs to be updated.

Also update docs to encourage use of dependency injection.
2022-03-04 10:12:24 +13:00
Guy Sartorelli 8c4e924bfa
ENH: Prefer dependency injection over use of `new` keyword. (#333)
* ENH: Prefer dependency injection over use of `new` keyword.

* MNT Fix phpcs linting error.
2022-02-18 16:44:54 +13:00
Daniel Hensby 0974e36d57
Merge branch '3.0' into 3.1 2018-02-21 11:49:19 +00:00
Daniel Hensby 51dd4cab65
Merge branch '2.0' into 3.0 2018-02-21 11:25:09 +00:00
Robbie Averill 0ad1fc367e
MINOR Apply PSR-2 linting 2017-09-18 21:06:16 +01:00
Damian Mooyman 9421e85483 BUG Fix inline editing / sortable 2017-09-15 16:08:13 +12:00
Damian Mooyman 57acb83546
Sanitise GridFieldAddNewMultiClassHandler::Link() 2017-07-06 17:27:07 +12:00
Daniel Hensby 08ccb15bdb
Merge branch '1.4' 2017-07-05 17:45:20 +01:00
Marcus 87cd8ffc6d Merge pull request #194 from dnadesign/fix-multi-class-injector
fix to multi-class for ss4 support
2017-07-03 10:28:57 +10:00
John Milmine 7d3f5acbd7 fix to multi-class for ss4 support 2017-06-26 07:29:43 +12:00
Nathan Glasl ef48ea9cdd NAMESPACE, updating vendor. 2017-06-16 14:46:31 +10:00
Marcus 0795113cf4 fix(GridFieldAddNewMultiClass) removed obsolete config param
FIRST_SET has been removed from SS4
2017-05-04 11:41:58 +10:00
Jack O'Connor 0907b2f493 Initialising button before attempting to enable or disable it (#177)
* Initialising button before attempting to enable or disable it

* Updating class reference

* Adding exception use case

* Removing unused use case

* Including Exception class for classes where exception is used.
2017-02-17 13:14:50 +11:00
Lee Bradley cbcb6e57e0 Applies changes from silverstripe-australia/silverstripe-gridfieldextensions#177
JS fix for "Initialising button before attempting to enable or disable it"
Thanks @JackOconnor21
2017-02-14 17:21:29 +00:00
Robbie Averill 2acf6dee47 PSR-2 code style guidelines 2016-12-21 15:35:19 +13:00
Robbie Averill 3cacb43934 Update composer constraint, branch alias, namespace and add editorconfig 2016-12-21 15:27:49 +13:00