Skip to content

Commit b072102

Browse files
Merge pull request #102 from martijn00/docs
Add iban and docs
2 parents 79bf0ca + 48ba769 commit b072102

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+336
-87
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@
3535
* Add between
3636
* Add inList
3737
* Add transform
38-
* Add debounce
39-
* Add retry
38+
* Add iban
39+
* Add skipWhen
40+
* Add log
41+
* Add aggregate
4042

4143

4244
## 10.0.1

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ Available built-in helper validators:
5252
- `FormBuilderValidators.conditional()` - conditionally runs a validator against the value provided.
5353
- `FormBuilderValidators.or()` - runs each validator against the value provided and passes when any works.
5454
- `FormBuilderValidators.transform()` - transforms the value before running the validator.
55-
- `FormBuilderValidators.debounce()` - runs the validator after a set time.
56-
- `FormBuilderValidators.retry()` - runs the validator again after failing while waiting a certain time.
55+
- `FormBuilderValidators.aggregate()` - runs the validators in parallel, collecting all errors.
56+
- `FormBuilderValidators.log()` - runs the validator and logs the value at a specific point in the validation chain.
57+
- `FormBuilderValidators.skipWhen()` - runs the validator and skips the validation when a certain condition is met.
5758

5859
Available built-in type validators include:
5960

@@ -107,6 +108,7 @@ Available built-in use-case validators include:
107108
- `FormBuilderValidators.path()` - requires the field's to be a valid file or folder path.
108109
- `FormBuilderValidators.portNumber()` - requires the field's to be an valid port number.
109110
- `FormBuilderValidators.macAddress()` - requires the field's to be an valid MAC address.
111+
- `FormBuilderValidators.iban()` - requires the field's to be an valid IBAN.
110112

111113
### Supported languages
112114

lib/l10n/intl_al.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"endsWithErrorText": "Vlera duhet të përfundojë me {value}.",
5050
"containsErrorText": "Vlera duhet të përmbajë {value}.",
5151
"betweenErrorText": "Vlera duhet të jetë ndërmjet {min} dhe {max}.",
52-
"valueInListErrorText": "Vlera duhet të jetë në listën e vlefshme."
52+
"valueInListErrorText": "Vlera duhet të jetë në listën e vlefshme.",
53+
"ibanErrorText": "Kjo fushë kërkon një IBAN të vlefshëm."
5354
}

lib/l10n/intl_ar.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"endsWithErrorText": "القيمة يجب أن تنتهي بـ {value}.",
5050
"containsErrorText": "القيمة يجب أن تحتوي على {value}.",
5151
"betweenErrorText": "القيمة يجب أن تكون بين {min} و {max}.",
52-
"valueInListErrorText": "القيمة يجب أن تكون ضمن القائمة المسموح بها."
52+
"valueInListErrorText": "القيمة يجب أن تكون ضمن القائمة المسموح بها.",
53+
"ibanErrorText": "هذا الحقل يتطلب IBAN صالح."
5354
}

lib/l10n/intl_bg.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"endsWithErrorText": "Стойността трябва да завършва с {value}.",
5050
"containsErrorText": "Стойността трябва да съдържа {value}.",
5151
"betweenErrorText": "Стойността трябва да е между {min} и {max}.",
52-
"valueInListErrorText": "Стойността трябва да е в списъка с допустими стойности."
52+
"valueInListErrorText": "Стойността трябва да е в списъка с допустими стойности.",
53+
"ibanErrorText": "Това поле изисква валиден IBAN."
5354
}

lib/l10n/intl_bn.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"endsWithErrorText": "মানটি {value} দিয়ে শেষ হতে হবে।",
5050
"containsErrorText": "মানটি {value} ধারণ করতে হবে।",
5151
"betweenErrorText": "মানটি {min} এবং {max} এর মধ্যে হতে হবে।",
52-
"valueInListErrorText": "মানটি অনুমোদিত তালিকার মধ্যে থাকতে হবে।"
52+
"valueInListErrorText": "মানটি অনুমোদিত তালিকার মধ্যে থাকতে হবে।",
53+
"ibanErrorText": "একটি বৈধ IBAN প্রয়োজন।"
5354
}

lib/l10n/intl_bs.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"endsWithErrorText": "Vrijednost mora završiti sa {value}.",
5050
"containsErrorText": "Vrijednost mora sadržavati {value}.",
5151
"betweenErrorText": "Vrijednost mora biti između {min} i {max}.",
52-
"valueInListErrorText": "Vrijednost mora biti na listi dopuštenih vrijednosti."
52+
"valueInListErrorText": "Vrijednost mora biti na listi dopuštenih vrijednosti.",
53+
"ibanErrorText": "Unesite validan IBAN."
5354
}

lib/l10n/intl_ca.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"endsWithErrorText": "El valor ha d'acabar amb {value}.",
5050
"containsErrorText": "El valor ha de contenir {value}.",
5151
"betweenErrorText": "El valor ha d'estar entre {min} i {max}.",
52-
"valueInListErrorText": "El valor ha d'estar en la llista de valors permesos."
52+
"valueInListErrorText": "El valor ha d'estar en la llista de valors permesos.",
53+
"ibanErrorText": "Aquest camp requereix un IBAN vàlid."
5354
}

lib/l10n/intl_cs.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"endsWithErrorText": "Hodnota musí končit na {value}.",
5050
"containsErrorText": "Hodnota musí obsahovat {value}.",
5151
"betweenErrorText": "Hodnota musí být mezi {min} a {max}.",
52-
"valueInListErrorText": "Hodnota musí být v seznamu povolených hodnot."
52+
"valueInListErrorText": "Hodnota musí být v seznamu povolených hodnot.",
53+
"ibanErrorText": "Pole vyžaduje platné IBAN."
5354
}

lib/l10n/intl_da.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"endsWithErrorText": "Værdien skal slutte med {value}.",
5050
"containsErrorText": "Værdien skal indeholde {value}.",
5151
"betweenErrorText": "Værdien skal være mellem {min} og {max}.",
52-
"valueInListErrorText": "Værdien skal være på listen over tilladte værdier."
52+
"valueInListErrorText": "Værdien skal være på listen over tilladte værdier.",
53+
"ibanErrorText": "Dette felt kræver en gyldig IBAN."
5354
}

0 commit comments

Comments
 (0)