Thursday, October 19, 2017

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

No comments:

Post a Comment