N°3537 run_query : use Field instead of InputWithLabel

This commit is contained in:
Pierre Goiffon
2020-12-16 15:57:23 +01:00
parent 2b0691daa6
commit 85e9073228
7 changed files with 60 additions and 49 deletions

View File

@@ -954,7 +954,10 @@ EOF
$val['attflags'] = ($bEditMode) ? $this->GetFormAttributeFlags($sAttCode) : OPT_ATT_READONLY;
// - How the field should be rendered
$val['layout'] = (in_array($oAttDef->GetEditClass(), static::GetAttEditClassesToRenderAsLargeField())) ? 'large' : 'small';
$val['layout'] =
(in_array($oAttDef->GetEditClass(), static::GetAttEditClassesToRenderAsLargeField()))
? Field::ENUM_FIELD_LAYOUT_LARGE
: Field::ENUM_FIELD_LAYOUT_SMALL;
// - For simple fields, we get the raw (stored) value as well
$bExcludeRawValue = false;