cancel
Showing results for 
Search instead for 
Did you mean: 

sap.ui.core.Wrapping.On generating an Uncaught Type error?

0 Kudos

Hallo all,

I've recently stumbled upon this issue in my coding, whenever i add the wrapping : sap.ui.core.Wrapping.on  to my sap.ui.commons.TextArea I get the error message outlined on the attachment.

It works fine if i remove that singular line with the "wrapping : sap.ui.core.Wrapping.On"

Can anyone else shed some light on this matter?

Br, Rafael.

Accepted Solutions (1)

Accepted Solutions (1)

former_member104694
Participant
0 Kudos

Hi Rafael,

Have you tried using sap.ui.core.Wrapping.Hard or sap.ui.core.Wrapping.Soft instead of sap.ui.core.Wrapping.On?

Cheers,

Ian

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rafael,

sap.ui.core.Wrapping enumeration has only 4 possible options. You can use only one of these properties for wrapping text in TextArea UI.

  1. sap.ui.core.Wrapping.Hard
  2. sap.ui.core.Wrapping.None
  3. sap.ui.core.Wrapping.Off
  4. sap.ui.core.Wrapping.Soft

Refer the Demo kit for more information on wrapping.

Thanks & Regards,

Vishweshwara P.K.M.