Fix add schema to the "auto" parts request
This commit is contained in:
parent
6f7b0d9ae0
commit
afda58c515
|
@ -66,7 +66,7 @@ class FormSchema
|
|||
$return = ['id' => $schemaID];
|
||||
|
||||
// Default to schema if not set
|
||||
if ($form && ($wantSchema || empty($schemaParts))) {
|
||||
if ($form && ($wantSchema || empty($schemaParts) || $auto)) {
|
||||
$return['schema'] = $this->getSchema($form);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue