Create new form with email label within input

[MAILPOET-2451]
This commit is contained in:
Rostislav Wolny
2019-12-03 10:30:07 +01:00
committed by Jack Kitterhing
parent a082e74003
commit 270798ceeb

View File

@ -116,6 +116,10 @@ class Forms extends APIEndpoint {
],
];
if ($this->features_controller->isSupported(FeaturesController::NEW_FORM_EDITOR)) {
$form_data['body'][0]['params']['label_within'] = true;
}
return $this->save($form_data);
}