when applying date format on text-Field cursor goes to the end if you try to edit the date string in between that has already written.
when applying date format on text-Field cursor goes to the end if you try to edit the date string in between that has already written.