<AppInput
  name="{{item.codeName}}"
{{#eq ctrlType 'form'}}
  :disabled="state.detailsModel.{{item.codeName}}.disabled"
{{/eq}}
{{#if item.psEditor.placeHolder}}
  placeholder="{{item.psEditor.placeHolder}}"
{{/if}}
{{#if item.psEditor.disabled}}
  :disabled="{{item.psEditor.disabled}}"
{{/if}}
{{#if item.psEditor.readOnly}}
  :readonly="{{item.psEditor.readOnly}}"
{{/if}}
{{#if item.psEditor.maxValue}}
  :max="{{item.psEditor.maxValue}}"
{{/if}}
{{#if item.psEditor.minValue}}
  :min="{{item.psEditor.minValue}}"
{{/if}}
{{#if item.psEditor.precision}}
  :precision="{{item.psEditor.precision}}"
{{/if}}
{{#if item.psEditor.maxLength}}
  :maxLength="{{item.psEditor.maxLength}}"
{{/if}}
{{#if item.psEditor.showMaxLength}}
  :showMaxLength="{{item.psEditor.showMaxLength}}"
{{/if}}
{{#eq item.psEditor.editorType "TEXTBOX"}}
  type="text"
{{/eq}}
{{#eq item.psEditor.editorType "NUMBER"}}
  type="number"
{{/eq}}
{{#eq item.psEditor.editorType "PASSWORD"}}
  type="password"
{{/eq}}
{{#eq item.psEditor.editorType "TEXTAREA"}}
  type="textarea"
{{/eq}}
{{#eq item.psEditor.editorType "TEXTAREA_10"}}
  type="textarea"
{{/eq}}
{{#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}}
/> 
