zeroasterisk / CakePHP-Eip

Edit in Place Plugin (Helper/Component) for CakePHP (requires jquery)
14 stars 5 forks source link

EiP for child items? #7

Open jammy-git opened 8 years ago

jammy-git commented 8 years ago

I'm building a invoicing screen which also contains invoice items (Invoice > one to many > InvoiceItems). So in my view for the Invoice, there are several fields that contain a numerical key:

<?php echo $this->Eip->input('InvoiceItem.0.item_number', $this->request->data, array('type' => 'text', 'mode' => 'inline')); ?>

However I get an error message saying "EipHelper::input() invalid $path arg, should be "Model.field". Is this not possible?