Check out example codes for "how to allow text to be copied in an input element ionic". It will help you in understanding the concepts better.

Code Example 1

Add the following code to your variable.scss file:

* {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

Learn ReactJs, React Native from akashmittal.com