InputField select text on click

I have an inputfield which is prefilled with a numbers - in order to change the number currently i have to click inside the field, highlight the number and then replace it with the new one… i want when i click inside the input field- current number gets selected and i then change it- is there anyway i can do that??

please help !!!