diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-21 15:57:49 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-21 16:02:13 +0200 |
commit | 4729f93701f0129e540d1cdab80c975e8d02caa1 (patch) | |
tree | 4afbf0e94ccbaa27a737d0ac8df385b396d4b2f6 /js | |
parent | 1b744656d599bebf82ae0d6096d42861ab15ee76 (diff) |
Regex pattern with notification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/components/addressBookList/addressBookList_controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/components/addressBookList/addressBookList_controller.js b/js/components/addressBookList/addressBookList_controller.js index 04985b6b..552816cf 100644 --- a/js/components/addressBookList/addressBookList_controller.js +++ b/js/components/addressBookList/addressBookList_controller.js @@ -4,6 +4,7 @@ angular.module('contactsApp') ctrl.loading = true; ctrl.openedMenu = false; + ctrl.addressBookRegex = /^[a-zA-Z0-9À-ÿ\s-_.!?#|()]+$/i; AddressBookService.getAll().then(function(addressBooks) { ctrl.addressBooks = addressBooks; |