It appears the <sp-textarea> element neither has the select() nor the setSelectionRange() method. This makes it impossible to programatically select text.
The simple <textarea> does have these methods, but it doesn’t fit the UI that well.
It appears the <sp-textarea> element neither has the select() nor the setSelectionRange() method. This makes it impossible to programatically select text.
The simple <textarea> does have these methods, but it doesn’t fit the UI that well.