form.$invalid is not working for angular ui date picker

i have two fields due date and a text filed enter a number

due date which is a date picker ,either we can select date from date picker or

we can set date by entering number in second text field.

button create will be enabled if i manually set the date field from date picker but but it is not enabling if i set date picker value by entering text field

can anybody tell me why this is happening.
this is jsfiddle link fiddle

Source: AngularJS



from Angular Questions https://angularquestions.com/2017/10/19/form-invalid-is-not-working-for-angular-ui-date-picker/
via @lzomedia #developer #freelance #web #lzomedia.com

Comments

Popular posts from this blog

ng-show doesn’t work correct with value boolean

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development

ng-include of inline SVG does not display gradient except in Chrome