Fix for when the input element has the date class.

When the date class is added to the input element. It throws an error because there isn't .add-on or .btn.