TextField cursor position

Hi Guys!

I would like to modify the position of the cursor to the start position when the TextField will get focus. I haven’t found solution for this problem.
Could you help me?

Have you found a solution? I’m trying to GET the cursor position so I can add text at that index… we have a kind of context menu helper, which should add those text-blocks at current cursor position (TextArea though, but should be same thing)

Maybe this could help: https://vaadin.com/forum/thread/18469245/is-there-way-to-get-caret-position-from-textfield

Thank you Jean-Christophe!