Comments (8)
Opps
Thanks @gilad1987 I got your point.
Here's the error cause
https://github.com/huei90/angular-validation/blob/master/src/directive.js#L173
The scope.$on('something')
doesn't unqiue that's why cause your problem
How do you add the random number ? Could you give me a PR ?
from angular-validation.
sorry, what is PR ?
from angular-validation.
just add:
in line 194: $scope.$broadcast(k + 'submit' + form[k].index, idx++);
in line 437:
ctrl.index = Math.random();
scope.$on(ctrl.$name + 'submit' + ctrl.index, function (event, index)
from angular-validation.
Then how do you fix by adding a random number ?
PR is pull request
from angular-validation.
That's cool.
You try to google what's PR, and if you don't mind give me a PR to angular-validation
repo.
Otherwise i will do it by myself.
Thanks !
from angular-validation.
At the moment I can not, I'll try later
Thank you, great module
from angular-validation.
Sure 👍
from angular-validation.
@gilad1987 I have updated.
Thanks for this issue 🍻
from angular-validation.
Related Issues (20)
- Question: How to re-call validation on a single form input ? HOT 7
- npm 1.4.3 package contains file with no name - breaks install HOT 8
- How to set input invalid using controller HOT 3
- Why set webpack as dependencies? HOT 3
- 关于validation-group的疑问 HOT 1
- 如何将错误信息展示在一个容器中并只展示第一个错误的信息? HOT 2
- CheckValid not working as expected HOT 3
- Validators not updating when dependant on other form values HOT 2
- Need to Add equalTo validation as it's required and widely used too. HOT 3
- Required validation is invalid when model value is 0 HOT 2
- validation-submit not work in version1.4.x HOT 3
- I´m getting the error Possibly unhandled rejection: error HOT 3
- validation is working but not showing error message bellow the input feild HOT 7
- 720kb datepicker is not working when we include angular-validation inside it. HOT 5
- how can use with angular ui select HOT 3
- Why add the validator = "required" valid-method = "blur" tag, js can not get ng-model value? HOT 7
- Allow empty string for validator? HOT 1
- [Question] Is there anything similar to this library for Angular 4? HOT 1
- Clear Form after submit shows validation HOT 5
- dynamic elements added to scope does not validate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-validation.