Completed
Last Updated: 27 Jan 2022 11:45 by ADMIN
Darrell
Created on: 07 Sep 2017 12:36
Category: Kendo UI for jQuery
Type: Feature Request
4
maskedtextbox
When you set focus on a masked text box that has an existing value, the cursor position is reset to the beginning of the input - even if there is no mask.

I propose:

If there is no mask (i.e so its acting as free text) - don't reset the cursor position on focus, instead, behave like an ordinary input box.
1 comment
Darrell
Posted on: 07 Sep 2017 12:40
For example, clicking on a masked textbox in chrome, to set the cursor here like this:

FOOB|AR

The widget actually sets the cursor position to this:

|FOOBAR

I am not entirely sure why it tries to reset the position, but I am assuming it is for masks that want input in a given an order from start to finish? Perhaps someone can explain to me the value of resetting the cursor position to the start?

However if there is no mask, this behaviour seems confusing, so thats where I propose we don't reset the cursor position.