Hi,
I need to create a date range picker where each part of the date range
(start/end) is effectively a separate calendar and the user can edit field
as required.
Basically, on the screen you would have two separate fields, but the
directive is this:-
<date-range-picker ng-model="dateRange"></date-range-picker>
where dateRange looks like this:-
{
fromDate : '2010-12-12',
toDate : "2012-12-12"
}
This would translate to two separate angular ui date fields.
I want ng-disabled, ng-required, etc... to work as usual. Now, I know
about https://docs.angularjs.org/api/ng/type/ngModel.NgModelController, but
I don't know how to apply it in this case.
Any assistance would be appreciated.
Thanks.
Kamal.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.