Adds readonly to datepicker