cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable required of Input field

SAPSupport
Employee
Employee
0 Kudos

How to enable required of Input field


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

For input function, it is suggested to use valuestate to show warning or error if no entry input.

Please check API link for further information.

https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputValueState/code

Answers (1)

Answers (1)

sonalika_porwal
Participant
0 Kudos

To enable the required of input you need to set the required property as true:

<Input required="true" value="Some string" />