Closed DarkSide666 closed 7 years ago
You need to addField them yourself. UnionModel will map them onto nested models, but you have to add them first.
OK this works:
$m->addField('date', ['caption' => 'Document Date', 'type' => 'date']);
$m->addField('contact', ['caption' => 'Supplier/Payee']);
Is this somewhere in docs? :)
For example,