1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-23 14:56:51 +02:00

Update for subfield labels in column headings (primarily for ListerPro)

This commit is contained in:
Ryan Cramer
2024-06-02 12:17:02 -04:00
parent 48f85faced
commit e78ada8854
2 changed files with 16 additions and 4 deletions

View File

@@ -82,7 +82,10 @@ class FieldSelectorInfo extends Wire {
// when input=select, page or checkbox, this contains the selectable options (value => label)
'options' => array(),
// if field has subfields, this contains array of all above, indexed by subfield name (blank if not applicable)
'subfields' => array(),
'subfields' => array(
// same as above, plus… DB column name (if different from 'name')
// 'col' => '',
),
);
$this->schemaToInput = array(