mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1955 from willmorgan/patch-2
FIX allow children to be accessed via template
This commit is contained in:
commit
e48cdb676b
@ -145,6 +145,14 @@ class ConfirmedPasswordField extends FormField {
|
|||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the children of this field for use in templating.
|
||||||
|
* @return FieldList
|
||||||
|
*/
|
||||||
|
public function getChildren() {
|
||||||
|
return $this->children;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Can be empty is a flag that turns on/off empty field checking.
|
* Can be empty is a flag that turns on/off empty field checking.
|
||||||
* For example, set this to false (the default) when creating a user account,
|
* For example, set this to false (the default) when creating a user account,
|
||||||
|
Loading…
Reference in New Issue
Block a user