Created
September 11, 2019 07:07
-
-
Save htammen/b276475267d6af00e23de6b1cce218d5 to your computer and use it in GitHub Desktop.
UI5 Input control email validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Input id="email1" | |
value="{path: '/email1', type: 'sap.ui.model.type.String', constraints: {search: '^((?!\\.)[\\w-_.]*[^.])(@\\w+)(\\.\\w+(\\.\\w+)?[^.\\W])$'}}" | |
type="Email" | |
></Input> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment