what am trying to accomplish is when
actionRead is being called to inject a field to be rendered on the detailed view , what am doing currently is
then clientDefs am adding:
apparently that's wrong , so what is the correct way of doing it?
actionRead is being called to inject a field to be rendered on the detailed view , what am doing currently is
Code:
public function actionRead($params, $data, $request) { $data['fields']['final_code'] = "test"; return parent::actionRead($params, $data, $request); }
Code:
{ "controller": "controllers/record", "formDependency": { "Final": { "default": [ { "action": "show", "fields": ["final_code"] } ] } }, "boolFilterList": [ "onlyMy" ] }
Comment