<AppInputIp
  name="{{item.codeName}}"
{{#eq ctrlType 'form'}}
  :disabled="state.detailsModel.{{item.codeName}}.disabled"
{{/eq}}
{{#if item.psEditor.readOnly}}
  :readonly="{{item.psEditor.readOnly}}"
{{/if}}
{{#if (or (eq ctrlType 'form') (eq ctrlType 'panel'))}}
  :value="state.data.{{item.psEditor.name}}"
  @editorEvent="onEditorEvent"
{{/if}}
{{#eq ctrlType 'grid'}}
  :value="record.{{item.psEditor.name}}"
  @editorEvent="onEditorEvent($event,index)"
{{/eq}}
/> 
    
