mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Merge pull request #78 from mattclegg/master
Include requirements for fields
This commit is contained in:
commit
9ff5de80d4
@ -1,7 +1,7 @@
|
|||||||
SilverStripe Grid Field Extensions Module
|
SilverStripe Grid Field Extensions Module
|
||||||
=========================================
|
=========================================
|
||||||
|
|
||||||
[![Build Status](https://secure.travis-ci.org/ajshort/silverstripe-gridfieldextensions.png?branch=master)](https://travis-ci.org/ajshort/silverstripe-gridfieldextensions)
|
[![Build Status](https://secure.travis-ci.org/silverstripe-australia/silverstripe-gridfieldextensions.png?branch=master)](https://travis-ci.org/silverstripe-australia/silverstripe-gridfieldextensions)
|
||||||
|
|
||||||
This module provides a number of useful grid field components:
|
This module provides a number of useful grid field components:
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements
|
|||||||
$field->setName($this->getFieldName($field->getName(), $grid, $record));
|
$field->setName($this->getFieldName($field->getName(), $grid, $record));
|
||||||
$field->setValue($value);
|
$field->setValue($value);
|
||||||
|
|
||||||
return $field->Field();
|
return $field->forTemplate();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getHTMLFragments($grid) {
|
public function getHTMLFragments($grid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user