Created
February 13, 2020 12:35
-
-
Save AlexDoanTB/9e85c3b21d9060129bb7936e5f0be2ab to your computer and use it in GitHub Desktop.
This is the HTML code for adding phone number input field for Add entity button
This file contains hidden or 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
| <div layout="row"> | |
| <md-input-container flex class="md-block"> | |
| <label>Phone</label> | |
| <input name="phoneNumber" pattern="^[0-9-+\s()]*$" ng-model="vm.attributes.phone"> | |
| <div ng-messages="addEntityForm.phoneNumber.$error"> | |
| <div ng-message="pattern">Invalid format</div> | |
| </div> | |
| </md-input-container> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment