All Questions
Tagged with angular-ui validation
12 questions
1
vote
1
answer
921
views
How to validate non-form elements in Angular?
I'm using angular-bootstrap-ui-dropdown on a form. I wanted to run some validation on this element. Is it possible with Angular Validator?
The code currently looks as follows, all of these are in a ...
2
votes
1
answer
95
views
After updating ui-bootstrap version, datepicker validation got break
I updated the ui-bootstrap version from 0.13.0 to 0.13.4, It broke the validation on datepicker field.
Plunkr with a problem
Previously I was using 0.13.0 and it was working fine.
Basically when I ...
2
votes
1
answer
5k
views
manually set validity in bootstrap validator
Is is possible to manually set field validity to invalid in bootstrap validator?
I'm using angular js in my project and want to use date range validation.
The "max-date" attribute works fine except ...
0
votes
0
answers
652
views
Form Validation in IE8 using Angular UI & webshims
I am using webshims for HTML support in IE8. My HTML form validation is working in IE8. But when I have a form in a popup (I am using Angular UI Modal), on form submit(ng-submit) the modal box closes ...
4
votes
2
answers
14k
views
AngularUI datepicker-popup - manually typed date and min/max dates
I have found an issue with validation of a manually typed date value that falls outside of the minDate or maxDate values when using the datepicker-popup.
This can be demonstrated with the datepicker ...
5
votes
1
answer
6k
views
Bootstrap Modal validation displaying on dismiss
I have a form view in AngularJS and I'm using a modal from Angular-ui to display my form. Functionality wise, everything works great, however, when I dismiss the form, validation pop-ups display if ...
1
vote
1
answer
470
views
Field $valid state is not updating after $setValidity(True)
I'm using ui-validate for my validation rules.
<input ng-model=raw.expression
name="expression"
type="text"
required
ui-validate="{serversidevalid : '...
0
votes
2
answers
663
views
scope.$eval() returning old value
I've got a form with two date values. I want to validate: date one must be lower than date two. I want to do a directive to manage this. So, I named my directive lowerThanDate and I'm using it into a ...
10
votes
4
answers
31k
views
Angularjs Form/Field validation using JavaScript function without directives
Is there a way to validate a field in angular without using a directive?
For example: I want to make following validation on an input field.
If field is empty we should show "Field must contain a ...
11
votes
2
answers
4k
views
Angular.js - does form validation emit any events?
The problem is, I'm using ui-router and I have two views, one is kind of a toolbar, second is content with a form.
Now I'd like to have a save button in the toolbar, which would be disabled if form ...
6
votes
2
answers
7k
views
Form Validation with Dependent Fields in AngularJS
I have an object that has 2 fields, while 1 should be less than or equal to another.
Say it's HDD quota settings and I need the threshold to be less than or equal to HDD's size.
I am trying to use ...
11
votes
3
answers
32k
views
AngularJS: How to validate date in US format?
I have the following form code that allows input of a date using AngularUI (date is required and should match US date format e.g.: MM/DD/YY):
<form name="form" ng-submit="createShipment()">
...