<AppAutoComplete
  name="{{item.codeName}}"
  :data="state.data"
{{#eq ctrlType 'form'}}
  :disabled="state.detailsModel.{{item.codeName}}.disabled"
{{/eq}}
{{#if item.valueItemName}}
  valueItem="{{item.valueItemName}}"
{{/if}}
{{#if item.psEditor.placeHolder}}
  placeholder="{{item.psEditor.placeHolder}}"
{{/if}}
  :context="state.context"
  :viewParams="state.viewParams"
{{#if item.psEditor.psNavigateContexts}}
  localContext="{{> @macro/front-end/common/navparam.hbs appNavParams=item.psEditor.psNavigateContexts}}"
{{/if}}
{{#if item.psEditor.psNavigateParams}}
  localParam="{{> @macro/front-end/common/navparam.hbs appNavParams=item.psEditor.psNavigateParams}}"
{{/if}}
{{#if item.psEditor.psAppDataEntity}}
{{!-- deMajorField="getDeMajorField({{item.psEditor.psAppDataEntity.codeName}})" --}}
  {{!-- deKeyField="{{item.psEditor.psAppDataEntity.codeName}}" --}}
{{/if}}
  {{!-- :acParams="getAcParams({{item.psEditor}})" --}}
{{#if item.psEditor.editorParams.sort}}
  sort="{{item.psEditor.editorParams.sort}}"
{{/if}}
{{#if item.psEditor.editorParams.defaultOpen}}
  :defaultOpen="{{item.psEditor.editorParams.defaultOpen}}"
{{/if}}
{{#if item.psEditor.editorParams.pickUpData}}
  :pickUpData="{{item.psEditor.editorParams.pickUpData}}"
{{/if}}
{{#if item.psEditor.disabled}}
  disabled="{{item.psEditor.disabled}}"
{{/if}}
{{#if item.psEditor.editorParams.multiple}}
  :multiple="{{item.psEditor.editorParams.multiple}}"
{{/if}}
{{#eq item.psEditor.editorType "AC_NOBUTTON"}}
  :showButton="false"
{{/eq}}
{{#eq item.psEditor.editorType "AC_FS_NOBUTTON"}}
  :showButton="false"
{{/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}}
/>
