I wanted to know how to select the text contained in an inout field. I’ve tried select () but it does not work.
$ W (“myElement”). Select ();
Thanks for any help
I wanted to know how to select the text contained in an inout field. I’ve tried select () but it does not work.
$ W (“myElement”). Select ();
Thanks for any help
Most input fields expose a value property.
So something like this:
$w("myElement").value
Thanks for your answer.
With value I get the value of the field. I want to select it / highlight it.
With .value it does not. I used select () usually
Thank you
Sorry, I misunderstood what you were trying to do. Unfortunately, there is currently no way to select the text in an input field. Please add a feature request if you think this is something that should be added.
Thanks for your answer, I will add a feature request as you suggest