Skip to Content
Jul 26, 2018 at 07:24 PM

Chnage Imput field description runtime in Fragement page in SAP UI5


Below code is in fragment view.

<Label text="Target Qty" />
<Input id="" value="{
path: 'prodentrycontext>/TargetQty',
type: 'sap.ui.model.type.Float',
formatOptions: {
maxFractionDigits: 2,
groupingSeparator: ',',
emptyString: ''
}" width="200px" enabled="true" editable="false" type="Number" textAlign="Right" description="Lbs."/>

I am calling this fragment page as required after calling I want to change Description LBS to KG and vice versa .

Could you please guide me how to do?