I have a problem with the frontend_model of the system.xml

This is the system.xml

<field id="words" translate="label" sortOrder="92" showInDefault="1" showInWebsite="1" showInStore="1">

This is the TryAgain\Module\Block\Adminhtml\Menu\Field\AdditionalItem

 namespace TryAgain\Module\Block\Adminhtml\Menu\Field;


class AdditionalItem extends AbstractFieldArray
protected function _prepareToRender()
    $this->addColumn('noi', ['label' => __('NOI'),'readonly'=>'readonly']);
    $this->addColumn('fixed', ['label' => __('Fixed')]);
    $this->addColumn('percent', ['label' => __('Percent')]);
    $this->_addAfter = false;
    $this->_addButtonLabel = __('Add More');

The problem is that when I go to change the name of the column ('we', 'fixed' or 'percent') enter image description hereI have this error and can no longer save the configurations

enter image description here

  • are you using any library? – Mohit Rane Jul 3 '19 at 10:01
  • No, I'm not using library – Mastafis Jul 3 '19 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.