mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX allow children to be accessed via template
This commit is contained in:
parent
7ab175374b
commit
372890703c
@ -145,6 +145,14 @@ class ConfirmedPasswordField extends FormField {
|
||||
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.
|
||||
* For example, set this to false (the default) when creating a user account,
|
||||
|
Loading…
x
Reference in New Issue
Block a user