readonly attribute is used to disable datepicker

if component is used, don't trigger click event on input