cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help Request on sap.ui.commons Tools

ipravir
Active Contributor
0 Kudos
60

Hi,

I have created an application in sap.m, and there is an option to provide a help request option for sap.m.input.

and the same application i am trying to create in sap.ui.commons, but there is not such option for sap.ui.commons.textfield.

Please guide, how i can provide the same help request for sap.ui.commons. application.

Note: we can use sap.m in sap-ui.libs, and then we can use sap.m.input, but is there any component in sap.ui.commons, which I can use for help request or is there any way to reduce the size of sap.m.input same as sap.ui.commons.textfield.

Regards,

Praveer.

Accepted Solutions (1)

Accepted Solutions (1)

santhu_gowdaz
Active Contributor
0 Kudos

Declare in <core:View xmlns:comn="sap.ui.commons">

and use text field lik this <comn:Textfield>

ipravir
Active Contributor
0 Kudos

Hi Santhosh,

Thanks for the reply, but I forgot to mention, I am using JSON model, so if you provide your answer in

JSON/JAVAscript, so that would be really helpful for me.

Regards,

Praveer.

santhu_gowdaz
Active Contributor
0 Kudos

if u r using js view SAPUI5 SDK - Demo Kit

code lik this,

var valuehelp= new sap.ui.commons.ValueHelpField('id',{

            width:'100px',

            required: true,

            valueHelpRequest: function()

            {

}

}

for xml view SAPUI5 Explored

Answers (2)

Answers (2)

ipravir
Active Contributor
0 Kudos

thanks Santhosh and Robin..

Qualiture
Active Contributor
0 Kudos

Use sap.ui.commons.ValueHelpField instead of TextField