Skip to content

Commit 9cecef2

Browse files
author
Tom Hanoldt
committed
update docs and version
1 parent f25d365 commit 9cecef2

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.input.validator",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"homepage": "https://github.com/creative-workflow/jquery.input.validator",
55
"authors": [
66
"Tom Hanoldt <tom@creative-workflow.berlin>"

docs/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# Changelog
22

3+
##### 1.1.3
4+
* attach error hint to custom element by data attribute `ivalidator-attach-hint-to`.
5+
36
##### 1.1.2
47
* correct value detection for radio
58

69
##### 1.1.1
710
* add equal validator for password repeat for ex.
8-
11+
912
##### 1.1.0
1013
* allow email regexp to macth two char local domains and host subdomains
1114

docs/DOCUMENTATION.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ validator.validateOne('<input type="text" data-has-class="hello" class="hello">'
1919

2020
// add a custom message for an validator
2121
validator.validateOne('<input type="text" required data-msg-required="required!">')
22+
23+
// attach error hint to custom element
24+
validator.validateOne('<input type="text" ivalidator-attach-hint-to=".my-selector" required data-msg-required="required!">')
25+
2226
```
2327

2428
##### Custom valiators
@@ -246,7 +250,10 @@ Have a look at the current implementation:
246250

247251
```
248252

249-
I think there is potential to implement this more elegant: [Contributing](CONTRIBUTING.md) =)
253+
254+
255+
### Contribute
256+
[Contributing](CONTRIBUTING.md) =)
250257

251258
### Resources
252259
* [Readme](../README.md)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.input.validator",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"description": "This jquery plugin helps to handle html input validation. It uses strict html attributes to map the validation rules and is easy extendable.",
55
"main": "dist/jquery.input.validator.js",
66
"repository": {

0 commit comments

Comments
 (0)