TextInput should support select all text on focus
Author: NigelBreslawCreated Sep 30, 2026Updated Sep 30, 2026
Labelsneed triaging
Feature Description
See this simple SlintPad demo where the idea is to replicate the common select all text on focus behaviour. This behaviour can be seen in the URL bar in a browser, or forms where there may be data and you want to click and replace the contents as easily as possible.
In the above demo click in the middle of the text. On focus all the text is highlighed, but then as you finish the click the selection is changed to stop at the letter you clicked on. To work around this you end up adding another TouchArea and fighting the TextInput. It feels a bit fiddly for such a common use case.
Product Impact
No response
Source: slint-ui/slint