Skip to Content
0
Oct 28, 2018 at 03:16 PM

How to Attach Input Assisted to Input field which in SimpleForm?

129 Views

Hello All,

I am using below link as an example,

https://sapui5.hana.ondemand.com/#/sample/sap.uxap.sample.ObjectPageFormLayout/preview

Please check block/employment/BlockJobInfo.view.xml Very Important -

The input field is available in Simple form.

Now I also need to Attach, Input - Assisted.

So I am using this example below to my input field in SimpleForm

https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.InputAssisted/preview

My Code is

<Input id="HomeCompCode1" 
		       type="Text"
		       maxLength="8" 
		       width="200px"
		       showSuggestion="true"
		       showValueHelp="true"
		       valueHelpRequest="handleValueHelp"
		       suggestionItems="{/CostCenterSet}"/>

So Error is

Uncaught Error: Missing template or factory function for aggregation suggestionItems of Element sap.m.Input#__xmlview0--jobinfo-Collapsed--"HomeCompCode1"


Without SimpleForm it is working fine me.