Disabled DatePicker

Disabled DatePicker

Is there a reason why DatePicker doesn't automatically disable itself when called on a disabled input control?
It would seem logical. Is this an oversight, bug, or...?

For example
  1. <input name="mydate" id="mydate" disabled="disabled" />
and

  1. $('#mydate').datepicker();

should render disabled by default.