You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Q&A.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Yes, you can do it by using `validation-group`
22
22
<spanid="checkBlur"></span>
23
23
```
24
24
25
-
### Can I validate the form when init ? [#10](https://github.com/huei90/angular-validation/issues/10)###
25
+
### Can I validate the form when init ? [#10](https://github.com/hueitan/angular-validation/issues/10)###
26
26
27
27
```html
28
28
<formname="Form">
@@ -36,24 +36,24 @@ $timeout(function () { // call $timeout to make sure the Form Constructor is gen
36
36
});
37
37
```
38
38
39
-
### What's the differentiate between validator-method `submit` and `submit-only`[#4](https://github.com/huei90/angular-validation/issues/4)###
39
+
### What's the differentiate between validator-method `submit` and `submit-only`[#4](https://github.com/hueitan/angular-validation/issues/4)###
40
40
41
41
`submit` : when user click submit, then start watching using `watch` to validate<br/>
42
42
`submit-only` : when user click `submit`, doesn't validate through `watch` until `submit` button is clicked.
43
43
44
-
### Use checkValid() manually [#19](https://github.com/huei90/angular-validation/issues/19)###
44
+
### Use checkValid() manually [#19](https://github.com/hueitan/angular-validation/issues/19)###
45
45
46
46
Before using `checkValid()`, you have to execute `submit` first to get the latest result.
47
47
48
-
### How do we do tooltips for error messages upon focusing? [#68](https://github.com/huei90/angular-validation/issues/68#issuecomment-86445467)
48
+
### How do we do tooltips for error messages upon focusing? [#68](https://github.com/hueitan/angular-validation/issues/68#issuecomment-86445467)
49
49
50
50
Using `validCallback` and `invalidCallback` to implement
51
51
52
52
### Can this works correctly with AngularUI, ui-select, others ... ?###
53
53
54
54
Yes, `angular-validation` works perfectly with other directive. (isolation scope). Find out more from the demo page.
55
55
56
-
### Working with `ng-submit` and submitting with enter, not click [#247](https://github.com/huei90/angular-validation/issues/247)###
56
+
### Working with `ng-submit` and submitting with enter, not click [#247](https://github.com/hueitan/angular-validation/issues/247)###
57
57
58
58
As per plnkr - https://plnkr.co/edit/nwTEuxuTMmpEc4hrFwGp?p=preview
59
59
@@ -66,7 +66,7 @@ Add checkValid and submit into both ng-click and ng-submit
66
66
</form>
67
67
```
68
68
69
-
### Can I validate $modelValue instead of a $viewValue? [#272](https://github.com/huei90/angular-validation/pull/272)###
69
+
### Can I validate $modelValue instead of a $viewValue? [#272](https://github.com/hueitan/angular-validation/pull/272)###
70
70
71
71
Yes, adding `use-view-value="false"` attribute forces to use $modelValue instead of a $viewValue for evaluation when form is submitted. By default $viewValue is used. This need raises from a need of localized number inputs, which have to be stored in a $viewValue as a string (e.g. "2 000,0"), however in a $modelValue they are stored as a properly formatted number (2000). This can be done e.g. by using a custom directive with properly specified $formatters and $parsers.
<spanng-if="form4.show">Type Again <ahref="https://github.com/huei90/angular-validation/blob/master/demo/demo.js#L45" target="_blank">#</a></span>
286
+
<spanng-if="form4.show">Type Again <ahref="https://github.com/hueitan/angular-validation/blob/master/demo/demo.js#L45" target="_blank">#</a></span>
287
287
</span>
288
288
</div>
289
289
<spanid="canChange"></span>
@@ -445,7 +445,7 @@ <h2>Examples</h2>
445
445
</div>
446
446
</div>
447
447
448
-
<ahref="https://github.com/huei90/angular-validation" target="_blank"><imgsrc="demo/iconmonstr-github-10-icon-128.png" id="github-link" alt="Fork me on Github"/></a>
448
+
<ahref="https://github.com/hueitan/angular-validation" target="_blank"><imgsrc="demo/iconmonstr-github-10-icon-128.png" id="github-link" alt="Fork me on Github"/></a>
0 commit comments