Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3353

Email Type in SAP UI5

$
0
0

Hello

 

I see that HTML5 has new Input types as below.

 

 

  • color
  • date
  • datetime
  • datetime-local
  • email
  • month
  • number
  • range
  • search
  • tel
  • time
  • url
  • week

 

how can I use type email in UI5 as a validation for an input field in XML. I checked SAPUI5 SDK - Demo Kit and see that sap.ui.model.type only has

 

BooleanThis class represents boolean simple types.

CurrencyThis class represents float simple types.

DateThis class represents date simple types.

DateTimeThis class represents datetime simple types.

FileSizeThis class represents file size simple types.

FloatThis class represents float simple types.

IntegerThis class represents integer simple types.

StringThis class represents string simple types.

TimeThis class represents time simple types.

 

How to go ahead with HTML5 type such as email. I know I can write a validation in JS but is there any other way? or a readily available type.


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>