fix(timepicker): evaluate correctly the `readonly-input` attribute

Closes #1911