There are two fields on the form, one for selecting a due date
and another for entering a number.
The due date
field is a date picker where you can choose a date or manually enter a number to set the date.
The create button
gets enabled only when setting the date using the date picker, not when entering the value in the text field. Can someone explain why? Here is the link to jsfiddle: fiddle