<AppDataPicker
  name="{{item.codeName}}"
  :data="state.data"
{{#if item.valueItemName}}
  valueItem="{{item.valueItemName}}"
{{/if}}
{{#if item.psEditor.placeHolder}}
  placeholder="{{item.psEditor.placeHolder}}"
{{/if}}
{{#eq ctrlType 'form'}}
  :disabled="state.detailsModel.{{item.codeName}}.disabled"
{{/eq}}
{{#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}}"
{{!--   localParam="{{item.psEditor.psNavigateParams}}" --}}
{{/if}}
  :context="state.context"
  :viewParams="state.viewParams"
{{#if item.psEditor.psAppDataEntity}}
{{!-- {{#each item.psEditor.psAppDataEntity as | filed |}} --}}
{{!-- {{#if filed.majorField}} --}}
{{!--   deMajorField="{{lowerCase filed.majorField.codeName}}" --}}
{{!-- {{/if}} --}}
{{!-- {{/each}} --}}
{{!--   deKeyField="{{item.psEditor.psAppDataEntity.codeName}}" --}}
{{/if}}
{{!-- {{#if item.psEditor.pickuppsAppView }} --}}
{{!--     :pickupView="{{item.psEditor.pickuppsAppView}}" --}}
{{!-- {{/if}} --}}
   pickUpView="ChartDataPickupView"
{{!-- :linkView="getLinkView({{item.psEditor}})" --}}
{{!-- :acParams="getAcParams({{item.psEditor}})" --}}
{{#if item.psEditor.psAppDEACMode.minorSortDir}}
  sort="{{item.psEditor.psAppDEACMode.minorSortDir}}"
{{/if}}
{{#if item.psEditor.editorParams.pickUpData}}
  pickUpData="{{item.psEditor.editorParams.pickUpData}}"
{{/if}}
{{#if (or (eq item.psEditor.editorType "PICKEREX_LINKONLY") (eq item.psEditor.editorType "PICKEREX_LINK"))}}
  :linkOnly="true"
{{/if}}
{{#if (or (eq item.psEditor.editorType "PICKEREX_NOAC")  (eq item.psEditor.editorType "PICKEREX_NOAC_LINK"))}}
  :noAC="true"
{{/if}}
{{#if (or (eq item.psEditor.editorType "PICKEREX_TRIGGER")  (eq item.psEditor.editorType "PICKEREX_TRIGGER_LINK"))}}
  :isDropdown="true"
{{/if}}
{{#if (or (eq item.psEditor.editorType "ADDRESSPICKUP")  (eq item.psEditor.editorType "ADDRESSPICKUP_AC"))}}
  :multiple="true"
{{/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}}
/> 