Created
March 30, 2016 22:03
-
-
Save saltavenger/a97e7d688ab1e287abcd5a14f3e55b1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input ng-readonly="true" | |
id="c{{c.Id}}-date" | |
name="c{{c.Id}}-date" | |
uib-datepicker-popup="MM/dd/yyyy" | |
type="text" | |
ng-click="openPicker($event, c)" | |
class="input-element" | |
ng-model="dateValue" | |
is-open="datepicker[c.Id]" | |
ng-init="setDateValue(c.Value)" | |
close-text="Close" | |
datepicker-options="datepickerOptions" | |
min-date="today()" | |
max-date="maxDate" | |
ng-init="errorMessages['c' + c.Id + '-date'] = {required: '@UxResources.RequiredDate', min: '@UxResources.DateBeforeToday' , max: '@UxResources.DateTooFarInFuture' }" | |
show-error-messages | |
ng-required="renderOnForm(c.DisplayLocation) && c.IsRequired" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment