Returning save data now depends on form fields, so they should always be defined

This commit is contained in:
Samuel Georges 2015-10-05 18:00:01 +11:00
parent 3a7e1d6d31
commit b7505a2cd7

View File

@ -832,6 +832,8 @@ class Form extends WidgetBase
*/ */
public function getSaveData() public function getSaveData()
{ {
$this->defineFormFields();
$result = []; $result = [];
/* /*