Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit fe72fc9

Browse files
committed
Fixed #92 name with dot, #94 Polish, #96 in_list
Fixed issue #92 input name with '.' was not working correctly on error message Issue #96 in_list was not accepting special characters. Enhancement #94 added Polish characters, thanks @Waniusza
1 parent ebdd789 commit fe72fc9

20 files changed

+71
-53
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ myApp.controller('CtrlValidationService', ['$q', '$scope', '$translate', 'valida
149149
.addValidator({elmName: 'input18', rules: 'alpha_spaces|exact_len:3|required', debounce: 3000})
150150
.addValidator('input19', 'date_iso_min:2001-01-01|required')
151151
.addValidator('input20', 'date_us_short_between:11/28/99,12/31/15|required')
152-
.addValidator('input21', 'in_list:banana,orange,ice cream|required')
152+
.addValidator('input21', 'in_list:banana,orange,ice cream,sweet & sour|required')
153153
.addValidator('area1', 'alpha_dash_spaces|min_len:15|required')
154154
.addValidator('input22', 'alpha_dash|min_len:2|required');
155155

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-validation-ghiscoding",
3-
"version": "1.4.16",
3+
"version": "1.4.17",
44
"author": "Ghislain B.",
55
"description": "Angular-Validation Directive and Service (ghiscoding)",
66
"main": [

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Angular-Validation change logs
22

3+
1.4.17 (2015-12-15) Fixed issue #92 input name with '.', enhancement #94 Polish characters, issue #96 in_list wasn't accepting special characters.
34
1.4.16 (2015-12-11) Fixed issue #90 blinking error messages.
45
1.4.15 (2015-12-02) Fixed issue #86 implicit global variable on regex.
56
1.4.14 (2015-11-15) Added validation-callback (#79), added #81, #82. Added new validation-callback attribute, runs after the debounce/blur and validaiton are completed. Added possibility passing arguments to Custom & Remote validators. Added new Global Options: hideErrorUnderInputs.

dist/angular-validation.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

full-tests/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ function loadData() {
284284
{
285285
'validator': 'in',
286286
'aliases': ['inList', 'in_list'],
287-
'params': 'chocolate,apple pie,ice cream'
287+
'params': 'chocolate,apple pie,ice cream,sweet & sour,A+B'
288288
},
289289
{
290290
'validator': 'int',
@@ -324,7 +324,7 @@ function loadData() {
324324
{
325325
'validator': 'notIn',
326326
'aliases': ['not_in', 'notInList', 'not_in_list'],
327-
'params': 'chocolate,apple pie,ice cream'
327+
'params': 'chocolate,apple pie,ice cream,sweet & sour,A+B'
328328
},
329329
{
330330
'validator': 'numeric'

locales/validation/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"INPUT18": "Alphanumeric + Exactly(3) + Required -- debounce(3sec)",
8686
"INPUT19": "Date ISO (yyyy-mm-dd) -- minimum condition >= 2001-01-01 ",
8787
"INPUT20": "Date US SHORT (mm/dd/yy) -- between the dates 12/01/99 and 12/31/15",
88-
"INPUT21": "Choice IN this list (banana,orange,ice cream)",
88+
"INPUT21": "Choice IN this list (banana,orange,ice cream,sweet & sour)",
8989
"FIRST_NAME": "First Name",
9090
"LAST_NAME": "Last Name",
9191
"RESET_FORM": "Reset Form",

locales/validation/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"INPUT18": "Alfanúmerico + Exactamente(3) + Requerido -- debounce(3sec)",
8686
"INPUT19": "Fecha formato ISO (yyyy-mm-dd) -- Condición mínima >= 2001-01-01 ",
8787
"INPUT20": "Fecha formato US corto (mm/dd/yy) -- entre las fechas 12/01/99 and 12/31/15",
88-
"INPUT21": "Elección en esta lista (banana,orange,ice cream)",
88+
"INPUT21": "Elección en esta lista (banana,orange,ice cream,sweet & sour)",
8989
"FIRST_NAME": "Nombre",
9090
"LAST_NAME": "Apellido",
9191
"RESET_FORM": "Cambiar la Forma",

locales/validation/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"INPUT18": "Alphanumérique + Exactement(3) + Requis -- debounce(3sec)",
8686
"INPUT19": "Date ISO (aaaa-mm-jj ) -- condition minimal >= 2001-01-01 ",
8787
"INPUT20": "Date US COURT (mm/jj/aa) -- entre les dates 12/01/99 et 12/31/15",
88-
"INPUT21": "Choix dans cette liste (banana,orange,ice cream)",
88+
"INPUT21": "Choix dans cette liste (banana,orange,ice cream,sweet & sour)",
8989
"FIRST_NAME": "Prénom",
9090
"LAST_NAME": "Nom de Famille",
9191
"RESET_FORM": "Réinitialisation le formulaire",

locales/validation/no.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"INPUT18": "Alfanumerisk + Nøyaktig(3) + Påkrevd -- debounce(3sec)",
8686
"INPUT19": "ISO dato (yyyy-mm-dd) -- minimum >= 2001-01-01 ",
8787
"INPUT20": "US SHORT dato (mm/dd/yy) -- mellom 12/01/99 og 12/31/15",
88-
"INPUT21": "Valget i denne listen (banana,orange,ice cream)",
88+
"INPUT21": "Valget i denne listen (banana,orange,ice cream,sweet & sour)",
8989
"FIRST_NAME": "Fornavn",
9090
"LAST_NAME": "Etternavn",
9191
"RESET_FORM": "Nullstill skjemaet",

locales/validation/pl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"INPUT18": "Alfanumeryczne + Dokładnie(3) + Wymaganae -- debounce(3sec)",
8686
"INPUT19": "Data w formacie ISO (rrrr-mm-dd) -- warunek minimum >= 2001-01-01 ",
8787
"INPUT20": "Data w formacie US SHORT (mm/dd/rr) -- pomiędzy datami 12/01/99 a 12/31/15",
88-
"INPUT21": "Wybór w tej liście (banana,orange,ice cream)",
88+
"INPUT21": "Wybór w tej liście (banana,orange,ice cream,sweet & sour)",
8989
"FIRST_NAME": "Imię",
9090
"LAST_NAME": "Nazwisko",
9191
"RESET_FORM": "Zresetować formularz",

0 commit comments

Comments
 (0)